Skip to content

Commit d4487ba

Browse files
committed
Improved aps package crawler.
1 parent 477d4e9 commit d4487ba

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

interface/lib/classes/aps_crawler.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public function parseFolderToDB()
520520
'".$this->db->quote($pkg_category)."', '".$this->db->quote($pkg_version)."',
521521
".$this->db->quote($pkg_release).", ".PACKAGE_ENABLED.");";
522522

523-
$app->db->datalogInsert('aps_packages', $insert_data, 'id');
523+
$this->app->db->datalogInsert('aps_packages', $insert_data, 'id');
524524
}
525525
}
526526
catch(Exception $e)

interface/web/sites/aps_cron_apscrawler_if.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949

5050
// Load the language file
5151
$lngfile = 'lib/lang/'.$_SESSION['s']['language'].'_aps.lng';
52-
require_once($lngfile);
5352
$app->load_language_file('web/sites/'.$lngfile);
5453

5554
echo '<div id="OKMsg"><p>'.$app->lng('packagelist_update_finished_txt').'</p></div>';

0 commit comments

Comments
 (0)