summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Turri <guillaume.turri@gmail.com>2012-12-24 23:47:46 +0100
committerGuillaume Turri <guillaume.turri@gmail.com>2013-01-06 11:36:59 +0100
commit7d1ae5e244b820e5c98558ef3bac0a764f63e692 (patch)
treef481203527a8f3701f1ff9eb353711d92829f1dc
parent27beeed6dddad3cd88bba7ba5ddba653ec86e0ff (diff)
downloadrpg-7d1ae5e244b820e5c98558ef3bac0a764f63e692.tar.gz
rpg-7d1ae5e244b820e5c98558ef3bac0a764f63e692.tar.bz2
Made xmlrpc putPage and appendPage consistent with documentation
According to dokuwiki's documentation (https://www.dokuwiki.org/devel:xmlrpc#wikiputpage), those methods should return booleans, not int.
-rw-r--r--inc/RemoteAPICore.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/RemoteAPICore.php b/inc/RemoteAPICore.php
index 36c518881..fbbb7b48b 100644
--- a/inc/RemoteAPICore.php
+++ b/inc/RemoteAPICore.php
@@ -440,7 +440,7 @@ class RemoteAPICore {
// run the indexer if page wasn't indexed yet
idx_addPage($id);
- return 0;
+ return true;
}
/**