Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function indexAction()
- {
- // action body
- $this->view->current_date_and_time = date('M d, Y - H:i:s');
- $user = Doctrine_Core::getTable('Model_User')->findOneByEmailAndPassword('new_user_2@test.local', 'test');
- $user->password = 'new_password';
- $user->save();
- }
Add Comment
Please, Sign In to add comment