diff usrajax.php @ 225:1bb4f4bcb027

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 18 Nov 2013 04:36:47 +0200
parents bcc3c4696b3e
children bb96aef874a9
line wrap: on
line diff
--- a/usrajax.php	Mon Nov 18 04:02:16 2013 +0200
+++ b/usrajax.php	Mon Nov 18 04:36:47 2013 +0200
@@ -44,10 +44,7 @@
       $vote, $voter_id, $eid);
   }
 
-  if (stExecSQL($sql) === false)
-    return FALSE;
-  else
-    return TRUE;
+  return stExecSQL($sql);
 }