Fixes queue server crawllog without namespace issue, a=chris
Fixes queue server crawllog without namespace issue, a=chris
diff --git a/executables/QueueServer.php b/executables/QueueServer.php
index c78811acd..1214d12bb 100755
--- a/executables/QueueServer.php
+++ b/executables/QueueServer.php
@@ -1325,7 +1325,7 @@ class QueueServer implements CrawlConstants, Join
*/
if ($update_disallow == true) { $this->updateDisallowedQuotaSites(); }
if ($this->isAScheduler() && $cull_now_non_crawlable) {
- L|crawlLog("Scheduler: Allowed/Disallowed Urls have changed");
+ L\crawlLog("Scheduler: Allowed/Disallowed Urls have changed");
L\crawlLog("Scheduler: Checking if urls in queue need" .
" to be culled");
$this->cullNoncrawlableSites();
diff --git a/library/archive_bundle_iterators/WebArchiveBundleIterator.php b/library/archive_bundle_iterators/WebArchiveBundleIterator.php
index 4730665a8..c16a151a9 100644
--- a/library/archive_bundle_iterators/WebArchiveBundleIterator.php
+++ b/library/archive_bundle_iterators/WebArchiveBundleIterator.php
@@ -30,6 +30,7 @@
*/
namespace seekquarry\yioop\library\archive_bundle_iterators;
+use seekquarry\yioop\library as L;
use seekquarry\yioop\library\CrawlConstants;
use seekquarry\yioop\library\WebArchiveBundle;