]> git.mxchange.org Git - friendica.git/blobdiff - include/tagupdate.php
Fixed some stuff as requested by @Hypolite
[friendica.git] / include / tagupdate.php
index b12e809772060b7287166c0d03dadcecf3eecf7d..1e97135c5b05fa6a038b3b6f001f3471be175bee 100644 (file)
@@ -1,22 +1,6 @@
 <?php
-require_once("boot.php");
 require_once("include/tags.php");
 
-global $a, $db;
-
-if(is_null($a))
-       $a = new App;
-
-if(is_null($db)) {
-       @include(".htconfig.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);
+function tagupdate_run(&$argv, &$argc){
+       update_items();
 }
-
-load_config('config');
-load_config('system');
-
-update_items();
-killme();
-?>