registration temporary fixup
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / uprav_zaregistrovanych.inc
index 02d97d752c2ddc7b50bd73b9ab157b164b2e3e51..f3217fae900056c23ec1c02fc28b8b30b6b208b8 100644 (file)
@@ -3,15 +3,10 @@ function uprav_zaregistrovanych() {
 global $db,$error;
 // 2110364 >> debug user
 
+// XXX hardcoded, rewrite
 $q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes
-left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=2091448 and
-k>=3";
-
-/*
-$q="select users.login as persona,users.email as email,k,node_id,node_creator,login from nodes
-left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=2091448 and
-k>=3 and user_id=2110364";
-*/
+left join users on nodes.node_creator=users.user_id where node_name!='request for access' and node_parent=".REGISTRATION_REQUEST_NODE." and
+k>=".REGISTRATION_VOTES;
 
 $set=$db->query($q);
 while ($set->next()) {
@@ -54,4 +49,4 @@ echo "<hr>";
 
 return false;
 }
-?>
\ No newline at end of file
+?>
This page took 0.17097 seconds and 4 git commands to generate.