Skip to content
Snippets Groups Projects
Commit 9844fc7f authored by Dominik Eckelmann's avatar Dominik Eckelmann
Browse files

Merge pull request #151 from gturri/master

xmlrpc putPage and appendPage should return bool
parents 27beeed6 e47e9c10
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment