Ignore:
Timestamp:
May 13, 2010, 12:06:29 PM (14 years ago)
Author:
patdenice
Message:

Upgrade work for 2.1.
Language keys have not been inserted yet.

File:
1 edited

Legend:

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

    r4711 r6167  
    33function plugin_activate()
    44{
    5   global $prefixeTable;
     5  global $prefixeTable, $conf;
    66
    7   $query = '
     7  if (!isset($conf['autoupdate_ignore_list']))
     8  {
     9    $query = '
    810INSERT INTO ' . CONFIG_TABLE . ' (param,value,comment)
    911VALUES ("autoupdate_ignore_list" , "'.addslashes(serialize(array())).'" , "Ignored plugin list for Piwigo Auto Update plugin");';
    1012
    11   pwg_query($query);
     13    pwg_query($query);
     14  }
    1215}
    1316
Note: See TracChangeset for help on using the changeset viewer.