Commit 3f1b9e34 authored by Alan Garcia's avatar Alan Garcia
Browse files

Another cometics

parent c6aabb8c
......@@ -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 dverrouile 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 );
?>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment