Changeset 10511 for trunk/ws.php


Ignore:
Timestamp:
Apr 20, 2011, 4:52:52 PM (13 years ago)
Author:
patdenice
Message:

feature:2271
Merge autoupdate plugin into piwigo core.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r10502 r10511  
    419419<br>If maxwidth, maxheight or quality are missing, default parameters of upload will be used.'
    420420);
     421
     422  $service->addMethod(
     423    'pwg.extensions.update',
     424    'ws_extensions_update',
     425    array(
     426      'type' => array(),
     427      'id' => array(),
     428      'revision'=> array(),
     429      'pwg_token' => array(),
     430    ),
     431    'Update an extension. Webmaster only.
     432<br>Parameter type must be "plugins", "languages" or "themes".'
     433  );
     434
     435  $service->addMethod(
     436    'pwg.extensions.ignoreUpdate',
     437    'ws_extensions_ignoreupdate',
     438    array(
     439      'type' => array('default'=>null),
     440      'id' => array('default'=>null),
     441      'reset' => array('default'=>null),
     442      'pwg_token' => array(),
     443    ),
     444    'Ignore an extension if it need update.
     445<br>Parameter type must be "plugins", "languages" or "themes".
     446<br>If reset parameter is true, all ignored extensions will be reinitilized.'
     447  );
    421448}
    422449
Note: See TracChangeset for help on using the changeset viewer.