]> git.mxchange.org Git - friendica.git/blobdiff - include/pidfile.php
Issue 3857: There is the possibility of a bad handling of dislikes
[friendica.git] / include / pidfile.php
index dda6b3e9c130827c3469e5ef650bd15177bdb7bf..7157a6e591a2eeb6f830798c7347f002b79f2be2 100644 (file)
@@ -8,7 +8,7 @@ class pidfile {
 
                if (file_exists($this->_file)) {
                        $pid = trim(@file_get_contents($this->_file));
-                       if (($pid != "") AND posix_kill($pid, 0)) {
+                       if (($pid != "") && posix_kill($pid, 0)) {
                                $this->_running = true;
                        }
                }