projects
/
brisk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
load_data return allways, all exit() calls removed, all load_data calls are protected
[brisk.git]
/
web
/
Obj
/
hardban.phh
diff --git
a/web/Obj/hardban.phh
b/web/Obj/hardban.phh
index
05ca8e1
..
1795a60
100644
(file)
--- a/
web/Obj/hardban.phh
+++ b/
web/Obj/hardban.phh
@@
-157,11
+157,10
@@
class Hardbans {
function load_data()
{
GLOBAL $sess;
- $doexit = FALSE;
+
do {
if (($tok = @ftok(FTOK_PATH."/hardbans", "B")) == -1) {
log_main("ftok failed");
- $doexit = TRUE;
break;
}
@@
-196,9
+195,6
@@
class Hardbans {
return ($hban);
} while (0);
- if ($doexit)
- exit();
-
return (FALSE);
}