Ignore:
Timestamp:
Dec 24, 2010, 12:15:24 AM (10 years ago)
Author:
plg
Message:

feature 2060: remove adivser mode on web API methods imported from the pwg.images.addSimple plugin

File:
1 edited

Legend:

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

    r8273 r8274  
    13431343{
    13441344  global $conf;
    1345   if (!is_admin() || is_adviser() )
     1345  if (!is_admin())
    13461346  {
    13471347    return new PwgError(401, 'Access denied');
     
    19931993{
    19941994  global $conf;
    1995   if (!is_admin() || is_adviser() )
     1995  if (!is_admin())
    19961996  {
    19971997    return new PwgError(401, 'Access denied');
     
    22442244{
    22452245  global $conf;
    2246   if (!is_admin() || is_adviser() )
     2246  if (!is_admin())
    22472247  {
    22482248    return new PwgError(401, 'Access denied');
     
    23132313  global $conf, $page;
    23142314 
    2315   if (!is_admin() || is_adviser() )
     2315  if (!is_admin())
    23162316  {
    23172317    return new PwgError(401, 'Access denied');
Note: See TracChangeset for help on using the changeset viewer.