/[drupal]/contributions/modules/forum_access/forum_access.install
ViewVC logotype

Diff of /contributions/modules/forum_access/forum_access.install

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

revision 1.11, Wed Mar 18 22:21:29 2009 UTC revision 1.12, Thu Aug 27 23:44:59 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: forum_access.install,v 1.10 2009/02/25 13:05:40 salvis Exp $  // $Id: forum_access.install,v 1.11 2009/03/18 22:21:29 salvis Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 104  function forum_access_update_2() { Line 104  function forum_access_update_2() {
104      'default'     => 0));      'default'     => 0));
105    return $ret;    return $ret;
106  }  }
107    
108    /**
109     * Warn users upgrading from Drupal 5.
110     */
111    function forum_access_update_6100() {
112      drupal_set_message('<b>Upgrading Forum Access from Drupal 5?&nbsp; Then please read:</b><br />In Drupal 5, comment posting was not restricted by Forum Access; users with <em>View</em> access (and the <em>post comments</em> permission) were always allowed to post forum comments. Starting with Drupal 6, posting comments is now restricted to users with <em>Post</em> access. If you prefer the old behavior, then go to '. l('Forum Settings', 'admin/content/forum/settings', array('fragment' => 'edit-forum-admin-settings-forum-access')) .' and turn <em>Drupal 5 legacy mode</em> on.', 'warning', FALSE);
113      return array();
114    }
115    

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.2