[aur-dev] [PATCH 1/4] Don't allow dl() of json module

Dan McGee dan at archlinux.org
Tue Apr 12 01:15:46 EDT 2011


You need this enabled for the AUR, period. No need for this BS.

Signed-off-by: Dan McGee <dan at archlinux.org>
---
 web/lib/aurjson.class.php |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/web/lib/aurjson.class.php b/web/lib/aurjson.class.php
index 3570909..bc26826 100644
--- a/web/lib/aurjson.class.php
+++ b/web/lib/aurjson.class.php
@@ -4,10 +4,6 @@
  *
  * This file contains the AurRPC remote handling class
  **/
-if (!extension_loaded('json')) {
-    dl('json.so');
-}
-
 include_once("aur.inc");
 
 /**
-- 
1.7.4.4



More information about the aur-dev mailing list