/[drupal]/contributions/modules/notify/notify.module
ViewVC logotype

Diff of /contributions/modules/notify/notify.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 2.67.2.4, Tue Feb 3 01:44:16 2009 UTC revision 2.67.2.5, Fri Mar 20 19:07:11 2009 UTC
# Line 1  Line 1 
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().
# Line 153  function notify_menu($may_cache) { Line 153  function notify_menu($may_cache) {
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    }    }

Legend:
Removed from v.2.67.2.4  
changed lines
  Added in v.2.67.2.5

  ViewVC Help
Powered by ViewVC 1.1.2