Subversion Repository Public Repository

Nextrek

Diff Revisions 612 vs 626 for /Android/SmartCharging/endPoints/nightly/repositories/UserRepository.php

Diff revisions: vs.
  @@ -141,9 +141,13 @@
141 141 $status = array();
142 142 try {
143 143 $queryToken = "UPDATE utente
144 - SET token = NULL
144 + SET token = ''
145 145 WHERE id=".$user_id;
146 146
147 + //echo "<br/>".$queryToken."<br/>";
148 +
149 + $this->db->exec($queryToken);
150 +
147 151 $status["return"] = 0;
148 152 return $status;
149 153 } catch (PDOException $e) {