From 7d1ae5e244b820e5c98558ef3bac0a764f63e692 Mon Sep 17 00:00:00 2001 From: Guillaume Turri Date: Mon, 24 Dec 2012 23:47:46 +0100 Subject: 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. --- inc/RemoteAPICore.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/RemoteAPICore.php') 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; } /** -- cgit v1.2.3