Ignore:
Timestamp:
Jun 16, 2011, 12:54:59 PM (13 years ago)
Author:
mistic100
Message:

add a list of all SmartAlbums

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmartAlbums/maintain.inc.php

    r11381 r11392  
    2626    \''.serialize(array(
    2727        'update_on_upload' => true,
     28        'show_list_messages' => true,
    2829        )
    2930      ).'\',
     
    3637function plugin_activate()
    3738{
    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']))
    4140  {
    4241    pwg_query('
     
    4645    \''.serialize(array(
    4746        'update_on_upload' => true,
     47        'show_list_messages' => true,
    4848        )
    4949      ).'\',
Note: See TracChangeset for help on using the changeset viewer.