Changeset 17923 for extensions/Subscribe_to_comments/main.inc.php
- Timestamp:
- Sep 15, 2012, 11:54:06 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Subscribe_to_comments/main.inc.php
r17922 r17923 13 13 global $prefixeTable; 14 14 15 define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . 'Subscribe_to_ comments/');15 define('SUBSCRIBE_TO_PATH' , PHPWG_PLUGINS_PATH . 'Subscribe_to_Comments/'); 16 16 define('SUBSCRIBE_TO_TABLE', $prefixeTable . 'subscribe_to_comments'); 17 17 define('SUBSCRIBE_TO_VERSION', '2.0.3'); … … 30 30 // apply upgrade if needed 31 31 if ( 32 $pwg_loaded_plugins['Subscribe_to_ comments']['version'] == 'auto' or33 version_compare($pwg_loaded_plugins['Subscribe_to_ comments']['version'], SUBSCRIBE_TO_VERSION, '<')32 $pwg_loaded_plugins['Subscribe_to_Comments']['version'] == 'auto' or 33 version_compare($pwg_loaded_plugins['Subscribe_to_Comments']['version'], SUBSCRIBE_TO_VERSION, '<') 34 34 ) 35 35 { … … 37 37 stc_install(); 38 38 39 if ($pwg_loaded_plugins['Subscribe_to_ comments']['version'] != 'auto')39 if ($pwg_loaded_plugins['Subscribe_to_Comments']['version'] != 'auto') 40 40 { 41 41 $query = ' 42 42 UPDATE '. PLUGINS_TABLE .' 43 43 SET version = "'. SUBSCRIBE_TO_VERSION .'" 44 WHERE id = "Subscribe_to_ comments"';44 WHERE id = "Subscribe_to_Comments"'; 45 45 pwg_query($query); 46 46 47 $pwg_loaded_plugins['Subscribe_to_ comments']['version'] = SUBSCRIBE_TO_VERSION;47 $pwg_loaded_plugins['Subscribe_to_Comments']['version'] = SUBSCRIBE_TO_VERSION; 48 48 49 49 if (defined('IN_ADMIN'))
Note: See TracChangeset
for help on using the changeset viewer.