]> git.mxchange.org Git - friendica.git/blobdiff - include/expire.php
plugin: orphaned hooks weren't deleted.
[friendica.git] / include / expire.php
index 755cd2494b94ee108547c45898649d61966a9823..4c6fb7a19dd3e1bd37f79cda4eccd38299615a6c 100644 (file)
@@ -2,7 +2,7 @@
 
 require_once("boot.php");
 
-function expire_run($argv, $argc){
+function expire_run(&$argv, &$argc){
        global $a, $db;
 
        if(is_null($a)) {
@@ -11,7 +11,7 @@ function expire_run($argv, $argc){
   
        if(is_null($db)) {
            @include(".htconfig.php");
-       require_once("dba.php");
+       require_once("include/dba.php");
            $db = new dba($db_host, $db_user, $db_pass, $db_data);
        unset($db_host, $db_user, $db_pass, $db_data);
        };