svn: /web/doc-editor/trunk/php/ ExtJsController.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Mon, 03 Jan 2011 18:23:12 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=307034

Log:
CleanUp from old var (mess) when we trow an error

Changed paths:
    U   web/doc-editor/trunk/php/ExtJsController.php

Modified: web/doc-editor/trunk/php/ExtJsController.php
===================================================================
--- web/doc-editor/trunk/php/ExtJsController.php	2011-01-03 18:13:12 UTC (rev 307033)
+++ web/doc-editor/trunk/php/ExtJsController.php	2011-01-03 18:23:12 UTC (rev 307034)
@@ -166,8 +166,7 @@
         {
             return JsonResponseBuilder::failure(
                 array(
-                    'type' => 'folder_already_exist',
-                    'mess' => ''
+                    'type' => 'folder_already_exist'
                 )
             );
         }
@@ -901,8 +900,7 @@
         if( strstr("\t", $fileContent) ) {
             return JsonResponseBuilder::failure(
                 array(
-                    'type' => 'tabs_found',
-                    'mess' => ''
+                    'type' => 'tabs_found'
                 )
             );
         }
@@ -933,8 +931,7 @@
             } else {
                 return JsonResponseBuilder::failure(
                     array(
-                        'type' => 'fs_error',
-                        'mess' => ''
+                        'type' => 'fs_error'
                     )
                 );
             }
@@ -965,8 +962,7 @@
                } else {
                    return JsonResponseBuilder::failure(
                        array(
-                           'type' => 'fs_error',
-                           'mess' => ''
+                           'type' => 'fs_error'
                        )
                    );
                }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.