Changed timestamp method to protected, so that it can be extended if desired.
This commit is contained in:
@@ -413,7 +413,7 @@ abstract class Model {
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
private function timestamp()
|
protected function timestamp()
|
||||||
{
|
{
|
||||||
$this->updated_at = date('Y-m-d H:i:s');
|
$this->updated_at = date('Y-m-d H:i:s');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user