Another cometics
This commit is contained in:
parent
c6aabb8cef
commit
3f1b9e34c5
|
@ -228,7 +228,7 @@ while ($rr=$action->get_action()){
|
|||
// We finished the action, notify the DB.
|
||||
d("Finishing... return value is : $return\n");
|
||||
if(!$action->finish($r["id"],addslashes($return))){
|
||||
$error_raise.="Cannot finish the action! Error while inserting the error value in the DB for action n°".$c["id"]." : action '".$c["type"]."'\nReturn value: ".addslashes($return)."\n";
|
||||
$error_raise.="Cannot finish the action! Error while inserting the error value in the DB for action n°".$r["id"]." : action '".$c["type"]."'\nReturn value: ".addslashes($return)."\n";
|
||||
break; // Else we go into an infinite loop... AAAAHHHHHH
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,8 +2,6 @@
|
|||
<?php
|
||||
|
||||
require_once("/usr/share/alternc/panel/class/config_nochk.php");
|
||||
// On déverrouile le bureau AlternC :)
|
||||
@alternc_shutdown();
|
||||
|
||||
global $db;
|
||||
|
||||
|
@ -32,7 +30,7 @@ echo "\n---------------------------\n Generating size-cache for MySQL databases\
|
|||
|
||||
echo "---------------------------\n Generating size-cache for mailman\n\n";
|
||||
if ($db->query("SELECT uid, name FROM mailman;")) {
|
||||
$c=array();
|
||||
$cc=array();
|
||||
$d=array();
|
||||
if($db->num_rows()){
|
||||
while ($db->next_record()) {
|
||||
|
@ -50,7 +48,5 @@ if ($db->query("SELECT uid, name FROM mailman;")) {
|
|||
}
|
||||
}
|
||||
|
||||
// On relocke le bureau pour éviter un msg d'erreur.
|
||||
@sem_acquire( $alternc_sem );
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue