OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Ralf S. Engelschall
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-src                      Date:   03-May-2008 10:46:37
  Branch: HEAD                             Handle: 2008050309463700

  Modified files:
    openpkg-src/drupal      drupal.patch

  Log:
    remove annoying Update notification stuff

  Summary:
    Revision    Changes     Path
    1.7         +22 -1      openpkg-src/drupal/drupal.patch
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/drupal/drupal.patch
  ============================================================================
  $ cvs diff -u -r1.6 -r1.7 drupal.patch
  --- openpkg-src/drupal/drupal.patch   2 May 2008 21:16:00 -0000       1.6
  +++ openpkg-src/drupal/drupal.patch   3 May 2008 08:46:37 -0000       1.7
  @@ -330,7 +330,7 @@
   --- /dev/null        2008-05-02 21:08:21 +0200
   +++ sites/all/modules/img_assist/img_assist_popup.js 2008-05-02 21:05:56 
+0200
   @@ -0,0 +1,20 @@
  -+/* $Id: drupal.patch,v 1.6 2008/05/02 21:16:00 rse Exp $ */
  ++/* $Id: drupal.patch,v 1.7 2008/05/03 08:46:37 rse Exp $ */
   +
   +function launch_popup(nid, mw, mh) {
   +    var ox = mw;
  @@ -387,3 +387,24 @@
    // following setting enabled.
    $Config['ForceSingleExtension'] = true ;
   
  +-----------------------------------------------------------------------------
  +
  +Degrade the "Update notification" check from ERROR to WARNING severity
  +as for a packaged Drupal as in OpenPKG the Update notification is less
  +important and actually confusing anyway. With WARNING one at least still
  +sees the issue, but under "Administer" one doesn't get the confusing red
  +error message and longer.
  +
  +Index: modules/system/system.install
  +--- modules/system/system.install.orig       2008-02-08 18:07:55 +0100
  ++++ modules/system/system.install    2008-05-03 10:42:23 +0200
  +@@ -273,7 +273,7 @@
  +     if (!module_exists('update')) {
  +       $requirements['update status'] = array(
  +         'value' => $t('Not enabled'),
  +-        'severity' => REQUIREMENT_ERROR,
  ++        'severity' => REQUIREMENT_WARNING,
  +         'description' => $t('Update notifications are not enabled. It is 
<strong>highly recommended</strong> that you enable the update status module 
from the <a href="@module">module administration page</a> in order to stay 
up-to-date on new releases. For more information please read the <a 
href="@update">Update status handbook page</a>.', array('@update' => 
'http://drupal.org/handbook/modules/update', '@module' => 
url('admin/build/modules'))),
  +       );
  +     }
  +
  @@ .
______________________________________________________________________
OpenPKG                                             http://openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to