From fbf2d7bca4305832a6021fa3452c56c89104f3a7 Mon Sep 17 00:00:00 2001
From: Michael Klier <chi@chimeric.de>
Date: Sun, 2 Mar 2008 18:51:05 +0100
Subject: [PATCH] XMLRPC: removed useless test for missing text in putPage()

darcs-hash:20080302175105-23886-8f67f9bdfdf69e8cee1f58f60984b53fb8a27ac9.gz
---
 lib/exe/xmlrpc.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/exe/xmlrpc.php b/lib/exe/xmlrpc.php
index e43394e50..36205fbf8 100644
--- a/lib/exe/xmlrpc.php
+++ b/lib/exe/xmlrpc.php
@@ -199,9 +199,6 @@ class dokuwiki_xmlrpc_server extends IXR_IntrospectionServer {
         if(checklock($id))
             return new IXR_Error(1, 'The page is currently locked');
 
-        if(empty($TEXT))
-            return new IXR_Error(1, 'No text supplied');
-
         //spam check
         if(checkwordblock()) 
             return new IXR_Error(1, 'Positive wordblock check');
-- 
GitLab