Ignore:
Timestamp:
Mar 7, 2013, 10:06:42 PM (11 years ago)
Author:
mistic100
Message:

too many changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Subscribe_to_comments/main.inc.php

    r17923 r21340  
    1313global $prefixeTable;
    1414
    15 define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . 'Subscribe_to_Comments/');
    16 define('SUBSCRIBE_TO_TABLE', $prefixeTable . 'subscribe_to_comments');
    17 define('SUBSCRIBE_TO_VERSION', '2.0.3');
     15define('SUBSCRIBE_TO_PATH' ,   PHPWG_PLUGINS_PATH . 'Subscribe_to_Comments/');
     16define('SUBSCRIBE_TO_TABLE',   $prefixeTable . 'subscribe_to_comments');
     17define('SUBSCRIBE_TO_VERSION', 'auto');
    1818
    1919
     
    3030  // apply upgrade if needed
    3131  if (
     32    SUBSCRIBE_TO_VERSION == 'auto' or
    3233    $pwg_loaded_plugins['Subscribe_to_Comments']['version'] == 'auto' or
    3334    version_compare($pwg_loaded_plugins['Subscribe_to_Comments']['version'], SUBSCRIBE_TO_VERSION, '<')
     
    3738    stc_install();
    3839   
    39     if ($pwg_loaded_plugins['Subscribe_to_Comments']['version'] != 'auto')
     40    if ( $pwg_loaded_plugins['Subscribe_to_Comments']['version'] != 'auto' and SUBSCRIBE_TO_VERSION != 'auto' )
    4041    {
    4142      $query = '
Note: See TracChangeset for help on using the changeset viewer.