Changed timestamp method to protected, so that it can be extended if desired.
This commit is contained in:
parent
0302b9c3c2
commit
81992a18fd
@ -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');
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user