| 1 |
<?php |
<?php |
| 2 |
// $Id: notify.module,v 2.73 2009/01/14 01:10:53 matt2000 Exp $ |
// $Id: notify.module,v 2.67.2.4 2009/02/03 01:44:16 matt2000 Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implementation of hook_help(). |
* Implementation of hook_help(). |
| 153 |
*/ |
*/ |
| 154 |
function notify_user_settings_form($uid = 0) { |
function notify_user_settings_form($uid = 0) { |
| 155 |
global $user; |
global $user; |
| 156 |
if ($user->uid != $uid && $user->uid != 1) { |
if ($user->uid != $uid && !user_access('administer notify')) { |
| 157 |
drupal_access_denied(); |
drupal_access_denied(); |
| 158 |
return; |
return; |
| 159 |
} |
} |