synced timestamps

This commit is contained in:
Rushabh Mehta
2011-09-05 13:17:22 +05:30
105 changed files with 4302 additions and 8178 deletions

View File

@@ -16,7 +16,7 @@ def change_password(arg):
webnotes.msgprint('Old password is not correct', raise_exception=1)
from webnotes.utils import nowdate
webnotes.conn.sql("update tabProfile set password=password(%s), password_last_updated=%s where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
webnotes.conn.sql("update tabProfile set password=password(%s) where name=%s",(arg['new_password'], nowdate(), webnotes.session['user']))
webnotes.msgprint('Password Updated');
def get_user_details(arg=None):
@@ -56,4 +56,4 @@ def set_user_image(arg=None):
fa.save()
uh.set_callback('window.parent.upload_callback("%s", "%s")' \
% (webnotes.form_dict['uploader_id'], fa.get_fid(0)))
% (webnotes.form_dict['uploader_id'], fa.get_fid(0)))