fix some CS, remove unneeded include - file is included in header.php
This commit is contained in:
parent
2f865db513
commit
20e3b5ebd7
1 changed files with 3 additions and 5 deletions
|
@ -95,13 +95,11 @@ class SemanticScuttle_Service_Bookmark2Tag extends SemanticScuttle_DbService
|
|||
$tagservice = SemanticScuttle_Service_Factory::get('Tag');
|
||||
$tags = $tagservice->normalize($tags);
|
||||
|
||||
|
||||
$tags_count = is_array($tags)?count($tags):0;
|
||||
if (is_array($tags)) {
|
||||
foreach ($tags as $i => $tag) {
|
||||
$tags[$i] = trim(utf8_strtolower($tags[$i]));
|
||||
if ($fromApi) {
|
||||
include_once 'SemanticScuttle/functions.php';
|
||||
$tags[$i] = convertTag($tags[$i], 'in');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue