summaryrefslogtreecommitdiff
path: root/includes/temp_functions.php
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-02-19 23:04:11 +0100
committerINOPIAE <inopiae@cacert.org>2013-02-19 23:04:11 +0100
commite8c6fa80af52e3036165e9916db81256b539d021 (patch)
tree23842a3522bd25de2ff1d388dc507de8c0976789 /includes/temp_functions.php
parentfff44ca9710b1b75414ebcb0a995a69478b09a99 (diff)
downloadcacert-devel-e8c6fa80af52e3036165e9916db81256b539d021.tar.gz
cacert-devel-e8c6fa80af52e3036165e9916db81256b539d021.tar.xz
cacert-devel-e8c6fa80af52e3036165e9916db81256b539d021.zip
bug 893: removed returns from some functions in includes/temp_functions.php
Diffstat (limited to 'includes/temp_functions.php')
-rw-r--r--includes/temp_functions.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/temp_functions.php b/includes/temp_functions.php
index 8f0e331..14f69ff 100644
--- a/includes/temp_functions.php
+++ b/includes/temp_functions.php
@@ -190,9 +190,9 @@ function check_client_cert_running($uid,$cca=0){
$query2 = "select from `emailcerts` where `memid`='$uid' and `revoked`>NOW()+90*86400";
}
$res = mysql_query($query1);
- return $r1 = mysql_num_rows($res)>0;
+ $r1 = mysql_num_rows($res)>0;
$res = mysql_query($query2);
- return $r2 = mysql_num_rows($res)>0;
+ $r2 = mysql_num_rows($res)>0;
return !!($r1 || $r2);
}
@@ -208,9 +208,9 @@ function check_server_cert_running($uid,$cca=0){
$query2 = "select from `domiancerts` where `memid`='$uid' and `revoked`>NOW()+90*86400";
}
$res = mysql_query($query1);
- return $r1 = mysql_num_rows($res)>0;
+ $r1 = mysql_num_rows($res)>0;
$res = mysql_query($query2);
- return $r2 = mysql_num_rows($res)>0;
+ $r2 = mysql_num_rows($res)>0;
return !!($r1 || $r2);
}
function check_is_orgadmin($uid){