Changeset 11392 for extensions/SmartAlbums/maintain.inc.php
- Timestamp:
- Jun 16, 2011, 12:54:59 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/SmartAlbums/maintain.inc.php
r11381 r11392 26 26 \''.serialize(array( 27 27 'update_on_upload' => true, 28 'show_list_messages' => true, 28 29 ) 29 30 ).'\', … … 36 37 function plugin_activate() 37 38 { 38 $sa_config = pwg_query('SELECT * FROM `' . CONFIG_TABLE . '` WHERE param = \'SmartAlbums\';'); 39 40 if (!pwg_db_num_rows($sa_config)) 39 if (!isset($conf['SmartAlbums'])) 41 40 { 42 41 pwg_query(' … … 46 45 \''.serialize(array( 47 46 'update_on_upload' => true, 47 'show_list_messages' => true, 48 48 ) 49 49 ).'\',
Note: See TracChangeset
for help on using the changeset viewer.