Changeset 7613


Ignore:
Timestamp:
Nov 3, 2010, 11:24:48 PM (10 years ago)
Author:
plg
Message:

merge r7612 from branch 2.1 to trunk

bug 2003 fixed: random failure on calling invalidate_user_cache. I move the
include of admin functions outside conditional blocks, even if we should also
enter the first block.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ws_functions.inc.php

    r7550 r7613  
    18071807  }
    18081808
     1809  include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
     1810
    18091811  $query='
    18101812SELECT *
     
    18621864    $update['id'] = $params['image_id'];
    18631865
    1864     include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    18651866    mass_updates(
    18661867      IMAGES_TABLE,
     
    18851886  if (isset($params['tag_ids']))
    18861887  {
    1887     include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');
    1888 
    18891888    $tag_ids = explode(',', $params['tag_ids']);
    18901889
Note: See TracChangeset for help on using the changeset viewer.