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

Add namespace to crawlLogs in datasources, a=chris

Chris Pollett [2015-07-01 18:Jul:st]
Add namespace to crawlLogs in datasources, a=chris
Filename
models/datasources/MysqlManager.php
models/datasources/PdoManager.php
diff --git a/models/datasources/MysqlManager.php b/models/datasources/MysqlManager.php
index d747e72ca..d145c9af4 100755
--- a/models/datasources/MysqlManager.php
+++ b/models/datasources/MysqlManager.php
@@ -86,7 +86,7 @@ class MysqlManager extends PdoManager
                 $db_user, $db_password);
         } catch (\PDOException $e) {
             $this->pdo = false;
-            crawlLog('Connection failed: ' . $e->getMessage());
+            L\crawlLog('Connection failed: ' . $e->getMessage());
         }
         return $this->pdo;
     }
diff --git a/models/datasources/PdoManager.php b/models/datasources/PdoManager.php
index cde031af0..1d1abdf26 100644
--- a/models/datasources/PdoManager.php
+++ b/models/datasources/PdoManager.php
@@ -81,7 +81,7 @@ class PdoManager extends DatasourceManager
             $this->pdo = new \PDO($db_host, $db_user, $db_password);
         } catch (\PDOException $e) {
             $this->pdo = false;
-            crawlLog('Connection failed: ' . $e->getMessage());
+            L\crawlLog('Connection failed: ' . $e->getMessage());
         }

         $this->to_upper_dbms = false;
ViewGit