Ignore:
Timestamp:
Jun 29, 2014, 4:25:59 PM (10 years ago)
Author:
mistic100
Message:

use new maintain class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/SmiliesSupport/main.inc.php

    r27208 r28849  
    1414define('SMILIES_DIR',     SMILIES_PATH . 'smilies/');
    1515define('SMILIES_ADMIN',   get_root_url() . 'admin.php?page=plugin-' . SMILIES_ID);
    16 define('SMILIES_VERSION', 'auto');
    17 
    1816
    1917include_once(SMILIES_PATH.'include/functions.inc.php');
     
    4139  global $conf;
    4240 
    43   include_once(SMILIES_PATH . 'maintain.inc.php');
    44   $maintain = new SmiliesSupport_maintain(SMILIES_ID);
    45   $maintain->autoUpdate(SMILIES_VERSION, 'install');
    46  
    47   $conf['smiliessupport'] = unserialize($conf['smiliessupport']);
     41  $conf['smiliessupport'] = safe_unserialize($conf['smiliessupport']);
    4842  $conf['smiliessupport_ext'] = array('gif', 'jpg', 'png', 'GIF', 'JPG', 'PNG');
    4943 
Note: See TracChangeset for help on using the changeset viewer.