Changeset 10502


Ignore:
Timestamp:
04/19/11 22:06:39 (9 years ago)
Author:
rvelices
Message:

ws method parameters that are required should not have a default value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r10235 r10502  
    247247    array( 
    248248      'image_id'=>array('default'=>0), 
    249       'pwg_token' => array('default' => null), 
     249      'pwg_token' => array(), 
    250250      ), 
    251251    'Delete photos. You can give several image_ids, comma separated' 
     
    274274    array( 
    275275      'category_id'=>array('default'=>0), 
    276       'pwg_token' => array('default' => null), 
     276      'pwg_token' => array(), 
    277277      'photo_deletion_mode' => array('default' => 'delete_orphans'), 
    278278      ), 
     
    287287      'category_id'=>array('default'=>0), 
    288288      'parent'=>array('default'=>0), 
    289       'pwg_token' => array('default' => null), 
     289      'pwg_token' => array(), 
    290290      ), 
    291291    'Move categories. You can give several category_ids, comma separated. Set parent as 0 to move to gallery root. Only virtual categories can be moved.' 
     
    386386    'ws_plugins_performAction', 
    387387    array( 
    388       'action' => array('default' => null), 
    389       'plugin' => array('default' => null), 
    390       'pwg_token' => array('default' => null), 
     388      'action' => array(), 
     389      'plugin' => array(), 
     390      'pwg_token' => array(), 
    391391      ), 
    392392    'install/activate/deactivate/uninstall/delete a plugin 
     
    398398    'ws_themes_performAction', 
    399399    array( 
    400       'action' => array('default' => null), 
    401       'themes' => array('default' => null), 
    402       'pwg_token' => array('default' => null), 
     400      'action' => array(), 
     401      'theme' => array(), 
     402      'pwg_token' => array(), 
    403403      ), 
    404404    'activate/deactivate/delete/set_default a theme<br>administration status required' 
Note: See TracChangeset for help on using the changeset viewer.