Browse Source

Changed timestamp method to protected, so that it can be extended if desired.

Aaron Kuzemchak 13 years ago
parent
commit
81992a18fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/eloquent/model.php

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

@@ -413,7 +413,7 @@ abstract class Model {
 	 *
 	 * @return void
 	 */
-	private function timestamp()
+	protected function timestamp()
 	{
 		$this->updated_at = date('Y-m-d H:i:s');