Changes in PHP code don't take effect

4 Jahre 10 Monate her #111657 von aesteban

I'm trying to develop new functionality for Audit plugin. I create a new subscription and function. However, nothing happens when I modify code (even if I restart server or clean ./tmp/runtime/cache). Other minor modifications take effects, for example string changes in existing subscriptions. I can't see errors in Apache log.

This is the code:

> diff -u AuditLog.php.orig AuditLog.php
--- AuditLog.php.orig 2014-08-12 12:03:24.511645932 +0200
+++ AuditLog.php 2014-08-13 17:16:39.411078340 +0200
@@ -17,6 +17,17 @@
+ $this->subscribe('beforeLogout');
+ }
+ public function beforeLogout()
+ {
+ $event = $this->getEvent();
+ $oCurrentUser=$this->api->getCurrentUser();
+ $oAutoLog = $this->api->newModel($this, 'log');
+ $oAutoLog->uid=$oCurrentUser->uid;
+ $oAutoLog->action='logout';
+ $oAutoLog->save();


Any help is welcome.

Thanks in advance,


Bitte Anmelden oder Registrieren um der Konversation beizutreten.

LimeSurvey Partners

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten

Abonnieren Sie unseren Newsletter

Abonnieren Sie unseren Newsletter für alle Neuigkeiten rund um LimeSurvey