restws_basic_auth.install in RESTful Web Services 7
Same filename and directory in other branches
Basic authentication login - install file.
File
restws_basic_auth/restws_basic_auth.installView source
<?php
/**
* @file
* Basic authentication login - install file.
*/
/**
* Implements hook_uninstall().
*/
function restws_basic_auth_uninstall() {
variable_del('restws_basic_auth_user_regex');
}
/**
* Set the user name regex to accept all for backwards compatibility.
*/
function restws_basic_auth_update_7100() {
// Set the user name regex to accept all.
variable_set('restws_basic_auth_user_regex', '/.*/');
}
Functions
Name | Description |
---|---|
restws_basic_auth_uninstall | Implements hook_uninstall(). |
restws_basic_auth_update_7100 | Set the user name regex to accept all for backwards compatibility. |