diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-01 10:44:01 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-09-01 10:44:01 +0200 |
commit | d6f164dc96576a93d5472a95878a79b8167b5898 (patch) | |
tree | 9d2918ade259342efa057b9b19db7400d4250dc9 /tools/infra-dashboard/utils/database.php | |
parent | dd44ecc402ca86cbcd02042229a42d3346e53d3d (diff) |
Remove first prototype of the Pharos Dashboard
The Dashboard implementation from Max is im progress and
more advanced than the initial one. It doesn't make sense
to maintain both of them.
Change-Id: Iabea63a7e5b6e8d64cb72b8de2264c5c4484eae8
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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); - } - -?> |