From 81992a18fdc2ba29e0d95c9b92018d25b9c65c6c Mon Sep 17 00:00:00 2001 From: Aaron Kuzemchak Date: Sun, 18 Dec 2011 16:14:26 -0500 Subject: [PATCH] Changed timestamp method to protected, so that it can be extended if desired. --- laravel/database/eloquent/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laravel/database/eloquent/model.php b/laravel/database/eloquent/model.php index 60283d82..0699a730 100644 --- a/laravel/database/eloquent/model.php +++ b/laravel/database/eloquent/model.php @@ -413,7 +413,7 @@ public function save() * * @return void */ - private function timestamp() + protected function timestamp() { $this->updated_at = date('Y-m-d H:i:s');