annotate sites/all/modules/restws/restws_basic_auth/restws_basic_auth.install @ 9:830c812b520f

added smtp module
author root <root@paio.local>
date Mon, 28 Oct 2013 15:34:27 +0000
parents ce11bbd8f642
children
rev   line source
danielebarchiesi@4 1 <?php
danielebarchiesi@4 2
danielebarchiesi@4 3 /**
danielebarchiesi@4 4 * @file
danielebarchiesi@4 5 * Basic authentication login - install file.
danielebarchiesi@4 6 */
danielebarchiesi@4 7
danielebarchiesi@4 8 /**
danielebarchiesi@4 9 * Implements hook_uninstall().
danielebarchiesi@4 10 */
danielebarchiesi@4 11 function restws_basic_auth_uninstall() {
danielebarchiesi@4 12 variable_del('restws_basic_auth_user_regex');
danielebarchiesi@4 13 }
danielebarchiesi@4 14
danielebarchiesi@4 15 /**
danielebarchiesi@4 16 * Set the user name regex to accept all for backwards compatibility.
danielebarchiesi@4 17 */
danielebarchiesi@4 18 function restws_basic_auth_update_7100() {
danielebarchiesi@4 19 // Set the user name regex to accept all.
danielebarchiesi@4 20 variable_set('restws_basic_auth_user_regex', '/.*/');
danielebarchiesi@4 21 }