From c98c60c604b16f135921edcf2dcadad4e1e8db67 Mon Sep 17 00:00:00 2001 From: TheMrNomis Date: Thu, 3 Dec 2015 11:09:41 +0100 Subject: [PATCH] removed deprecated functions --- databaseOperations.php | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/databaseOperations.php b/databaseOperations.php index 8a52e0c..d102b17 100755 --- a/databaseOperations.php +++ b/databaseOperations.php @@ -188,30 +188,4 @@ function getEventsSince($db,$date) die(); } } - -/** - * @deprecated - */ -function getEvents() -{ - //FUTURE: delete this function - $pdo = connect(); - $stmt = $pdo->prepare('SELECT titre, localisation, dtstart, dtend, description, url FROM events, categorie WHERE events.categorie = categorie.id'); - $stmt->execute(); - $result = $stmt->fetchAll(); - return $result; -} - -/** - * @deprecated - */ -function getEvent($id) -{ - //FUTURE: delete this function - $pdo = connect(); - $stmt = $pdo->prepare('SELECT titre, localisation, dtstart, dtend, description, url FROM events WHERE id = ?'); - $stmt->execute(array($id)); - $result = $stmt->fetch(); - return $result; -} ?>