summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2013-01-06 03:49:14 -0800
committerDominik Eckelmann <deckelmann@gmail.com>2013-01-06 03:49:14 -0800
commit9844fc7fb4e4f9361caa34db89387f3172ad79e0 (patch)
tree916a64c79c2929fb5cbbe8497abe28f79d23e305
parent27beeed6dddad3cd88bba7ba5ddba653ec86e0ff (diff)
parente47e9c10c754a8b04f2f5fb07877e55863ffdea5 (diff)
downloadrpg-9844fc7fb4e4f9361caa34db89387f3172ad79e0.tar.gz
rpg-9844fc7fb4e4f9361caa34db89387f3172ad79e0.tar.bz2
Merge pull request #151 from gturri/master
xmlrpc putPage and appendPage should return bool
-rw-r--r--inc/RemoteAPICore.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 36c518881..c04a14f5c 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -48,7 +48,7 @@ class RemoteAPICore {
'public' => '1'
), 'dokuwiki.appendPage' => array(
'args' => array('string', 'string', 'array'),
- 'return' => 'int',
+ 'return' => 'bool',
'doc' => 'Append text to a wiki page.'
), 'wiki.getPage' => array(
'args' => array('string'),
@@ -102,7 +102,7 @@ class RemoteAPICore {
'name' => 'pageVersions'
), 'wiki.putPage' => array(
'args' => array('string', 'string', 'array'),
- 'return' => 'int',
+ 'return' => 'bool',
'doc' => 'Saves a wiki page.'
), 'wiki.listLinks' => array(
'args' => array('string'),
@@ -440,7 +440,7 @@ class RemoteAPICore {
// run the indexer if page wasn't indexed yet
idx_addPage($id);
- return 0;
+ return true;
}
/**