Subversion Repository Public Repository

Nextrek

Diff Revisions 724 vs 725 for /Android/SmartCharging/endPoints/nightly/repositories/UserRepository.php

Diff revisions: vs.
  @@ -20,7 +20,7 @@
20 20 $this->db = $db;
21 21 }
22 22
23 - public static function checkToken($token, $conn) { //da rendere deprecata
23 + public static function checkToken($token, $conn) { //utile per il control panel
24 24 try {
25 25 //$queryToken = "SELECT id FROM utente WHERE token='".$token."'";
26 26 $queryToken = "SELECT id FROM utente WHERE token=:token";