]> git.mxchange.org Git - friendica.git/blobdiff - include/onepoll.php
Fix Issue #2816 - MySQL version typo
[friendica.git] / include / onepoll.php
index 4d270f6135a03553801109d118989c9b13140f02..e77937272088b31884b866471cb842957692e0eb 100644 (file)
@@ -24,7 +24,6 @@ function onepoll_run(&$argv, &$argc){
                unset($db_host, $db_user, $db_pass, $db_data);
        };
 
-
        require_once('include/session.php');
        require_once('include/datetime.php');
        require_once('include/items.php');
@@ -61,7 +60,7 @@ function onepoll_run(&$argv, &$argc){
 
        // Don't check this stuff if the function is called by the poller
        if (App::callstack() != "poller_run")
-               if (App::is_already_running('', 'onepoll'.$contact_id, 540))
+               if (App::is_already_running('onepoll'.$contact_id, '', 540))
                        return;
 
        $d = datetime_convert();