Remove this parameter - it is too dimp-specific
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Oct 2009 08:18:56 +0000 (02:18 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 21 Oct 2009 08:18:56 +0000 (02:18 -0600)
framework/Core/lib/Horde.php

index 6b51144..b088f5d 100644 (file)
@@ -585,14 +585,8 @@ HTML;
      * @param mixed $data                      The 'response' data.
      * @param Notification_Listener $listener  If set, adds notification
      *                                         information to object.
-     * @param boolean $auto                    If true, the ajax application
-     *                                         will automatically display the
-     *                                         notification.  If false, the
-     *                                         callback handler is responsible
-     *                                         for displaying the notification.
      */
-    static public function prepareResponse($data = null, $listener = null,
-                                           $auto = true)
+    static public function prepareResponse($data = null, $listener = null)
     {
         $response = new stdClass();
         $response->response = $data;
@@ -601,9 +595,6 @@ HTML;
             $stack = $listener->getStack();
             if (!empty($stack)) {
                 $response->msgs = $stack;
-                if (!(bool)$auto) {
-                    $response->msgs_noauto = true;
-                }
             }
         }