Commit d4487bae authored by tbrehm's avatar tbrehm

Improved aps package crawler.

parent 477d4e98
......@@ -520,7 +520,7 @@ class ApsCrawler extends ApsBase
'".$this->db->quote($pkg_category)."', '".$this->db->quote($pkg_version)."',
".$this->db->quote($pkg_release).", ".PACKAGE_ENABLED.");";
$app->db->datalogInsert('aps_packages', $insert_data, 'id');
$this->app->db->datalogInsert('aps_packages', $insert_data, 'id');
}
}
catch(Exception $e)
......
......@@ -49,7 +49,6 @@ $app->log($log_prefix.'Execution time: '.round($time, 3).' seconds');
// Load the language file
$lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng';
require_once($lngfile);
$app->load_language_file('web/sites/'.$lngfile);
echo '<div id="OKMsg"><p>'.$app->lng('packagelist_update_finished_txt').'</p></div>';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment