Browse Source

removed called to eloquent in uniqueness_of.

Taylor Otwell 13 years ago
parent
commit
24c2344ae4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      system/validation/rules/uniqueness_of.php

+ 1 - 1
system/validation/rules/uniqueness_of.php

@@ -39,7 +39,7 @@ class Uniqueness_Of extends Rule {
 			$this->column = $attribute;
 		}
 
-		return DB::table(Eloquent::table($this->table))->where($this->column, '=', $attributes[$attribute])->count() == 0;
+		return DB::table($this->table)->where($this->column, '=', $attributes[$attribute])->count() == 0;
 	}
 
 	/**