viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Add namespace to crawlLogs in datasources 2, a=chris

Chris Pollett [2015-07-01 18:Jul:st]
Add namespace to crawlLogs in datasources 2, a=chris
Filename
models/datasources/MysqlManager.php
models/datasources/PdoManager.php
diff --git a/models/datasources/MysqlManager.php b/models/datasources/MysqlManager.php
index d145c9af4..bf32e6108 100755
--- a/models/datasources/MysqlManager.php
+++ b/models/datasources/MysqlManager.php
@@ -30,6 +30,8 @@
  */
 namespace seekquarry\yioop\models\datasources;

+use seekquarry\yioop\library as L;
+
 if (!defined('BASE_DIR')) {echo "BAD REQUEST"; exit();}
 /**
  * Mysql DatasourceManager
diff --git a/models/datasources/PdoManager.php b/models/datasources/PdoManager.php
index 1d1abdf26..1cddd8efa 100644
--- a/models/datasources/PdoManager.php
+++ b/models/datasources/PdoManager.php
@@ -30,6 +30,8 @@
  */
 namespace seekquarry\yioop\models\datasources;

+use seekquarry\yioop\library as L;
+
 if (!defined('BASE_DIR')) {echo "BAD REQUEST"; exit();}
 /**
  * Pdo DatasourceManager
ViewGit