From 9fe34496d1bd7d9bf33e50b8dc4c8ab9757a60bf Mon Sep 17 00:00:00 2001 From: adam Date: Fri, 12 Feb 2021 17:12:12 +0200 Subject: asdf --- php/database.php | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'php/database.php') diff --git a/php/database.php b/php/database.php index f9b672d..66f2efb 100644 --- a/php/database.php +++ b/php/database.php @@ -74,18 +74,6 @@ require_once "node.php"; return false; } } - function get_home_id($user_id) - { - $statement=$this->pdo->prepare("select home_directory - from users - where user_id=:id - "); - $statement->bindParam(':id',$user_id); - - $ret=$statement->execute(PDO::FETCH_ASSOC); - return $ret["home_directory"]; - } - /*returns assoc array*/ function get_nodes_with_name($name) -- cgit v1.2.3