diff options
Diffstat (limited to 'tools/infra-dashboard/utils/database.php')
-rw-r--r-- | tools/infra-dashboard/utils/database.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/tools/infra-dashboard/utils/database.php b/tools/infra-dashboard/utils/database.php deleted file mode 100644 index b72c3d12..00000000 --- a/tools/infra-dashboard/utils/database.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - include '../../../../auth-db.php'; - date_default_timezone_set('UTC'); - function connectDB() { - global $username; - global $password; - global $hostname; - global $dbname; - - $dbhandle = mysql_connect($hostname, $username, $password) - or die("Unable to connect to MySQL.".mysql_error()); - $selected = mysql_select_db($dbname,$dbhandle) - or die("Could not select opnfv_pharos DB."); - } - - function closeDB(){ - mysql_connect($dbhandle); - } - -?> |