From cd0315329b63a84a61c4c9e4aee393ac014b481c Mon Sep 17 00:00:00 2001 From: Maxime Bourget Date: Sat, 15 Jun 2013 09:40:03 +0100 Subject: [PATCH] Disable FA.error. Seems to crash the application instead of displaying a nice error message. --- haxe/FA.hx | 2 +- hincludes/lib/FA.class.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/haxe/FA.hx b/haxe/FA.hx index a1425f5..f55c1c9 100644 --- a/haxe/FA.hx +++ b/haxe/FA.hx @@ -22,6 +22,6 @@ class FA { } static public function error(message:String) { - return untyped __call__('display_error', message); + // return untyped __call__('display_notification', message); } } diff --git a/hincludes/lib/FA.class.php b/hincludes/lib/FA.class.php index 3eb220d..afe7323 100644 --- a/hincludes/lib/FA.class.php +++ b/hincludes/lib/FA.class.php @@ -20,7 +20,6 @@ class FA { return pick_query(); } static function error($message) { - return display_error($message); } function __toString() { return 'FA'; } } -- 2.30.2