changeset 225:1bb4f4bcb027

Cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 18 Nov 2013 04:36:47 +0200
parents 0daedbef5678
children 548a106b3f5b
files usrajax.php vote.inc.php
diffstat 2 files changed, 3 insertions(+), 6 deletions(-) [+]
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);
 }
 
 
--- a/vote.inc.php	Mon Nov 18 04:02:16 2013 +0200
+++ b/vote.inc.php	Mon Nov 18 04:36:47 2013 +0200
@@ -119,8 +119,8 @@
   }
 
   echo
-  stGetVoteButton().
-  "</form>\n";
+    stGetVoteButton().
+    "</form>\n";
 }
 else
 if ($mode == "done")