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

This commit is contained in:
Aaron Kuzemchak
2011-12-18 16:14:26 -05:00
parent 0302b9c3c2
commit 81992a18fd

View File

@@ -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');