Skip to content

Commit

Permalink
Fixes #77 #79
Browse files Browse the repository at this point in the history
  • Loading branch information
rtconner committed Oct 23, 2015
1 parent a059019 commit 5a19490
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/Taggable.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ public function getTagsAttribute()
*/
public function tag($tagNames)
{
if(!is_array($tagNames)) {
$tagNames = func_get_args();
array_shift($tagNames);
}

$tagNames = static::$taggingUtility->makeTagArray($tagNames);

foreach($tagNames as $tagName) {
Expand Down Expand Up @@ -131,11 +126,6 @@ public function untag($tagNames=null)
*/
public function retag($tagNames)
{
if(!is_array($tagNames)) {
$tagNames = func_get_args();
array_shift($tagNames);
}

$tagNames = static::$taggingUtility->makeTagArray($tagNames);
$currentTagNames = $this->tagNames();

Expand Down

0 comments on commit 5a19490

Please sign in to comment.