Subversion Repository Public Repository

Nextrek

Diff Revisions 543 vs 706 for /Android/SmartCharging/endPoints/nightly/delete_immagine.php

Diff revisions: vs.
  @@ -34,7 +34,9 @@
34 34 die();
35 35 }
36 36
37 - $type = $params["type"];
37 + /* ============= SUPPORTO IMMAGINI NEI COMMENTI DROPPATO =============== */
38 +
39 + /*$type = $params["type"];
38 40
39 41 if ($type=="local") {
40 42 $repo = new LocalRepository($conn);
  @@ -45,7 +47,11 @@
45 47 //$risposta["return"] = 1;
46 48 echo json_encode($risposta);
47 49 die();
48 - }
50 + }*/
51 +
52 + /* =========== FINE SUPPORTO IMMAGINI NEI COMMENTI DROPPATO ============= */
53 +
54 + $repo = new LocalRepository($conn);
49 55
50 56 $risposta["return"] = $repo->deleteImage($params["id"], $params["img"]);
51 57