Skip to content

Commit

Permalink
Sniffer: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Feb 11, 2016
1 parent 006d788 commit 4e4010a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/model/tasks/addons/UpdateGithubTask.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ public function run(array $args = [])
$this->log('Skip (invalid addon name): ' . $response['full_name']);
continue;
}

list ($all, $owner, $name) = $matches;

// Update owner & repo name if it is not same
if ($addon->owner !== $owner) {
$addon->owner = $owner;
}

if ($addon->name !== $name) {
$addon->name = $name;
}
Expand Down

0 comments on commit 4e4010a

Please sign in to comment.