diff options
author | Guillaume Turri <guillaume.turri@gmail.com> | 2012-12-24 23:47:46 +0100 |
---|---|---|
committer | Guillaume Turri <guillaume.turri@gmail.com> | 2013-01-06 11:36:59 +0100 |
commit | 7d1ae5e244b820e5c98558ef3bac0a764f63e692 (patch) | |
tree | f481203527a8f3701f1ff9eb353711d92829f1dc /inc/RemoteAPICore.php | |
parent | 27beeed6dddad3cd88bba7ba5ddba653ec86e0ff (diff) | |
download | rpg-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.
Diffstat (limited to 'inc/RemoteAPICore.php')
-rw-r--r-- | inc/RemoteAPICore.php | 2 |
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; } /** |