Ignore:
Timestamp:
Jun 2, 2014, 9:39:07 PM (10 years ago)
Author:
rvelices
Message:

use trigger_change

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_autocomplete/admin/functions.inc.php

    r28197 r28597  
    181181function rvac_save_variant_rules($rules, $callback = null)
    182182{
    183         global $conf;
     183        global $conf, $persistent_cache;
    184184        $file=PHPWG_ROOT_PATH.$conf['data_location'].'plugins/autocomplete_variants.dat';
    185185        $save = serialize($rules);
     
    250250                file_put_contents($file, $save);
    251251        }
     252        $persistent_cache->purge(true);
    252253        $file=PHPWG_ROOT_PATH.$conf['data_location'].'tmp/autocomplete_variants.txt';
    253254        if ($fh = @fopen($file, 'w'))
Note: See TracChangeset for help on using the changeset viewer.