Changeset 2232 for trunk/plugins


Ignore:
Timestamp:
Mar 1, 2008, 2:23:51 PM (16 years ago)
Author:
rub
Message:

0000809: Use more php classes implementation

Use class for c13y

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/c13y_upgrade/initialize.inc.php

    r2218 r2232  
    3232add_event_handler('list_check_integrity', 'c13y_upgrade');
    3333
    34 function c13y_upgrade()
     34function c13y_upgrade($c13y)
    3535{
    3636  global $conf;
     
    5757  {
    5858    $can_be_deactivate = false;
    59     add_c13y(
     59    $c13y->add_anomaly(
    6060      l10n('c13y_dbl_email_user'),
    6161      null,
     
    9595      sprintf(l10n('c13y_correction_obsolete_plugin'), $row['id']).'</a>';
    9696
    97     add_c13y(
     97    $c13y->add_anomaly(
    9898      l10n('c13y_obsolete_plugin'),
    9999      null,
     
    112112      l10n('c13y_upgrade_deactivate').'</a>';
    113113
    114     add_c13y(
     114    $c13y->add_anomaly(
    115115      l10n('c13y_upgrade_no_anomaly'),
    116116      'c13y_upgrade_correction',
Note: See TracChangeset for help on using the changeset viewer.