Browse Source

Merge pull request #1121 from mcintyre94/minor/unprotect-eloquent-timestamps

Minor/unprotect eloquent timestamps
Taylor Otwell 11 years ago
parent
commit
db48fa4140
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/eloquent/model.php

+ 1 - 1
laravel/database/eloquent/model.php

@@ -445,7 +445,7 @@ abstract class Model {
 	 *
 	 * @return void
 	 */
-	protected function timestamp()
+	public function timestamp()
 	{
 		$this->updated_at = new \DateTime;