Changeset 12516


Ignore:
Timestamp:
Oct 25, 2011, 5:31:52 PM (12 years ago)
Author:
patdenice
Message:

Avoid fatal error on restore.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AdditionalPages/trunk/maintain.inc.php

    r9659 r12516  
    6767function plugin_uninstall()
    6868{
    69   global $prefixeTable;
     69  global $prefixeTable, $conf;
    7070
    7171        $q = 'DROP TABLE ' . $prefixeTable . 'additionalpages;';
     
    7474        $q = 'DELETE FROM ' . CONFIG_TABLE . ' WHERE param="additional_pages" LIMIT 1;';
    7575  pwg_query($q);
     76  unset($conf['additional_pages']);
    7677}
    7778
Note: See TracChangeset for help on using the changeset viewer.