Changeset 21340 for extensions/Subscribe_to_comments/main.inc.php
- Timestamp:
- Mar 7, 2013, 10:06:42 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/main.inc.php
r17923 r21340 13 13 global $prefixeTable; 14 14 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');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', 'auto'); 18 18 19 19 … … 30 30 // apply upgrade if needed 31 31 if ( 32 SUBSCRIBE_TO_VERSION == 'auto' or 32 33 $pwg_loaded_plugins['Subscribe_to_Comments']['version'] == 'auto' or 33 34 version_compare($pwg_loaded_plugins['Subscribe_to_Comments']['version'], SUBSCRIBE_TO_VERSION, '<') … … 37 38 stc_install(); 38 39 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' ) 40 41 { 41 42 $query = '
Note: See TracChangeset
for help on using the changeset viewer.