[pLog-svn] r1988 - plugins/trunk

oscar at devel.plogworld.net oscar at devel.plogworld.net
Wed May 11 18:09:27 GMT 2005


Author: oscar
Date: 2005-05-11 18:09:27 +0000 (Wed, 11 May 2005)
New Revision: 1988

Modified:
   plugins/trunk/moblog.php
Log:
no need to show a help message


Modified: plugins/trunk/moblog.php
===================================================================
--- plugins/trunk/moblog.php	2005-05-11 18:04:00 UTC (rev 1987)
+++ plugins/trunk/moblog.php	2005-05-11 18:09:27 UTC (rev 1988)
@@ -2,7 +2,7 @@
 
     // define the entry point
     if (!defined( "PLOG_CLASS_PATH" )) {
-    	define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
+        define( "PLOG_CLASS_PATH", dirname(__FILE__)."/");
     }
     
     //
@@ -28,25 +28,6 @@
 	include_once( PLOG_CLASS_PATH."plugins/moblog/class/moblog/moblogconstants.properties.php" );
 	include_once( PLOG_CLASS_PATH."class/template/cachecontrol.class.php" ); 
     
-//// help message sent to users requesting it ////
-    $helpMessage = <<< EOD
-pLog Moblog
------------
-Send a message with the following format ('start' and 'end' messages not included!):
-
-<<<<< start of moblog message format >>>>>
-
-USER: your-plog-username
-PASS: your-plog-password
-BLOG: your-plog-blog-name
-
-<<<<< end of moblog message format >>>>>
-
-The must be sent as plain text, and it can include as many attachment as needed.
-EOD;
-///////////////////////
-
-    
     // initialize the logging system
     MoblogLogger::log( "-- Initialized");
     
@@ -68,8 +49,8 @@
     // check if it's a help message
     if( $request->isHelpRequest()) {
         $response = new MoblogResponse( $request->getReplyTo(),
-                                        "pLog Moblog: Help",
-                                        $helpMessage );
+                                        "pLog Moblog: Error",
+                                        "Incorrect request" );
         $response->send();
         die();
     }




More information about the pLog-svn mailing list