diff --git a/ag/include/semaphore.inc.php b/ag/include/semaphore.inc.php
index d3bfa02..06fa18a 100644
--- a/ag/include/semaphore.inc.php
+++ b/ag/include/semaphore.inc.php
@@ -44,7 +44,7 @@ function semaphoreUP($resource){
db_query('DELETE FROM semaphore WHERE TIMESTAMPDIFF(MINUTE, zeit, now()) > 5 and ressource = \''.$resource.'\'');
$sql = 'INSERT INTO semaphore(ressource) values(\''.$resource.'\')';
- db_query($sql);
+ silent_query($sql);
if(db_affected_rows() > 0){
// echo 'DEBUG: Semaphore fuer '.$ressource.' belegt!('.db_affected_rows().')
';
$GLOBALS['semaphorecount']++;
@@ -61,7 +61,7 @@ function semaphoreUP($resource){
// @Returns TRUE if ok, FALSE on Semaphore error, NULL on MYQL Error
function semaphoreDown($resource){
$sql = 'DELETE FROM semaphore where ressource = \''.$resource.'\'';
- db_query($sql);
+ silent_query($sql);
if(db_affected_rows() == 0){
// echo 'DEBUG: Semaphore '.$ressource.' war schon freigegeben
';
return false;