Changeset 10452


Ignore:
Timestamp:
Apr 17, 2011, 7:48:56 PM (9 years ago)
Author:
patdenice
Message:

user cache must not be updated during ajax request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/regenerateThumbnails/element_set_global_action.php

    r9950 r10452  
    99}
    1010
    11 global $template, $conf, $page, $pwg_loaded_plugins;
     11global $template, $conf, $page, $pwg_loaded_plugins, $user;
     12
     13// User cache must not be updated during ajax requests
     14if (!isset($user['need_update']) or !$user['need_update'])
     15  getuserdata($user['id'], true);
    1216
    1317load_language('plugin.lang', REGENERATE_THUMBNAILS_PATH);
Note: See TracChangeset for help on using the changeset viewer.