aboutsummaryrefslogtreecommitdiffstats
path: root/php/database.php
diff options
context:
space:
mode:
authoradam <adam@>2021-02-12 17:12:12 +0200
committeradam <adam@>2021-02-12 17:12:12 +0200
commit9fe34496d1bd7d9bf33e50b8dc4c8ab9757a60bf (patch)
tree15797a561157b2dedb5a077b4979d4b97b57f4ff /php/database.php
parent69c729e663d3b50188629e82c6e41662aae64e4d (diff)
downloadfileup-9fe34496d1bd7d9bf33e50b8dc4c8ab9757a60bf.tar.gz
asdf
Diffstat (limited to 'php/database.php')
-rw-r--r--php/database.php12
1 files changed, 0 insertions, 12 deletions
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)