Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed some debugging code.

  • Loading branch information...
commit 26049d976bf57fe2dbc3ce813f997d5b45dc800b 1 parent 9588d8b
Johannes Wehner authored
View
3  classes/KeywordImporter.class.php
@@ -522,9 +522,6 @@ private function countWords($text) {
if ($text == '') {
return array();
}
- if (is_array($text)) {
- //var_dump($text);
- }
$words = Tokenizer::split_words(trim(mb_strtolower(strip_tags($text))));
if (Tagger::getConfiguration('keyword', 'enable_stemmer')) {
View
2  classes/TaggerHelpers.class.php
@@ -106,9 +106,7 @@ public static function arrayMergeRecursiveOverride() {
$arrays = func_get_args();
$override = $arrays[0];
- //var_dump($override);
array_shift($arrays);
- //var_dump($override);
$merged = array();
while ($arrays) {
View
2  logger/TaggerLogHandler.class.php
@@ -87,8 +87,6 @@ private function logFile($msg, $level = TaggerLogManager::STANDARD) {
private function logTerminal($msg, $level = TaggerLogManager::STANDARD) {
$backtrace = debug_backtrace();
foreach ($backtrace as $entry) {
- //if ($entry['function'] == __FUNCTION__) {
- //print_r($entry);
$log_functions = array('logDebug', 'logVerbose', 'logStandard', 'logWarning', 'logError');
if ($entry['class'] == 'TaggerLogManager' && in_array($entry['function'], $log_functions)) {
$file_line = basename($entry['file']) . ', line ' . $entry['line'];
Please sign in to comment.
Something went wrong with that request. Please try again.