diff pages/vote.inc.php @ 1069:5f92fa5e683a

Refactor how the "AJAX" stuff works.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 24 Jan 2017 17:25:48 +0200
parents ffacd904fd1f
children 7e497188e4c6
line wrap: on
line diff
--- a/pages/vote.inc.php	Tue Jan 24 16:44:30 2017 +0200
+++ b/pages/vote.inc.php	Tue Jan 24 17:25:48 2017 +0200
@@ -5,7 +5,6 @@
 // (C) Copyright 2012-2015 Tecnic Software productions (TNSP)
 //
 $sessionType = "user";
-require_once "majax.inc.php";
 
 
 function stGetVoteButton()
@@ -77,7 +76,6 @@
 else
 if (($mode = stGetSessionItem("mode")) == "vote")
 {
-  stCommonAJAX("usrajax.php", "usrlogout.php");
 ?>
 <noscript>
 <div class="notice">If your browser supports JavaScript, enable it for smoother voting experience.</div>