From: Roland Häder Date: Tue, 8 Dec 2020 23:23:03 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=02e28f3d375ffe4eb0bcdf8cd80444080deeed8f;p=hub.git Continued: - added noisy debug line - fixed "NPE" as $csvFileInstance was unset before - updated core framework Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php b/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php index b11bf5771..a839a8821 100644 --- a/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php +++ b/application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php @@ -308,10 +308,11 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: csvData[%s]=%s', gettype($csvData), print_r($csvData, TRUE))); if (count($csvData) == 0) { // Try to close it by actually unsetting (destructing) it + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read.', $csvFileInstance->getFilename())); unset($csvFileInstance); // This file as been fully read, so don't push it back on stack. - /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('CRAWLER-UPLOADED-LIST-URL-SOURCE: File "%s" has been fully read. - EXIT!', $csvFileInstance->getFilename())); + /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('CRAWLER-UPLOADED-LIST-URL-SOURCE: EXIT!'); return; } diff --git a/core b/core index fc83e6b1a..da760e51c 160000 --- a/core +++ b/core @@ -1 +1 @@ -Subproject commit fc83e6b1ac6fe3a5e09a3e4f8bad20fa2240cae4 +Subproject commit da760e51cadd942ec2f28fc7ceaf3b2ccaf65f47