Skip to content
Snippets Groups Projects
Commit d4487bae authored by tbrehm's avatar tbrehm
Browse files

Improved aps package crawler.

parent 477d4e98
No related branches found
No related tags found
2 merge requests!46Master,!21Master
...@@ -520,7 +520,7 @@ class ApsCrawler extends ApsBase ...@@ -520,7 +520,7 @@ class ApsCrawler extends ApsBase
'".$this->db->quote($pkg_category)."', '".$this->db->quote($pkg_version)."', '".$this->db->quote($pkg_category)."', '".$this->db->quote($pkg_version)."',
".$this->db->quote($pkg_release).", ".PACKAGE_ENABLED.");"; ".$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) catch(Exception $e)
......
...@@ -49,7 +49,6 @@ $app->log($log_prefix.'Execution time: '.round($time, 3).' seconds'); ...@@ -49,7 +49,6 @@ $app->log($log_prefix.'Execution time: '.round($time, 3).' seconds');
// Load the language file // Load the language file
$lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng'; $lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng';
require_once($lngfile);
$app->load_language_file('web/sites/'.$lngfile); $app->load_language_file('web/sites/'.$lngfile);
echo '<div id="OKMsg"><p>'.$app->lng('packagelist_update_finished_txt').'</p></div>'; echo '<div id="OKMsg"><p>'.$app->lng('packagelist_update_finished_txt').'</p></div>';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment