Mercurial > kallithea
comparison rhodecode/model/db.py @ 2936:62e493c7f436 beta
Added lightweight dashboard option. ref #500
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 18 Oct 2012 20:16:00 +0200 |
parents | faffec4abbda |
children | d439d408b415 |
comparison
equal
deleted
inserted
replaced
2935:20c0af65ac52 | 2936:62e493c7f436 |
---|---|
853 @classmethod | 853 @classmethod |
854 def unlock(cls, repo): | 854 def unlock(cls, repo): |
855 repo.locked = None | 855 repo.locked = None |
856 Session().add(repo) | 856 Session().add(repo) |
857 Session().commit() | 857 Session().commit() |
858 | |
859 @property | |
860 def last_db_change(self): | |
861 return self.updated_on | |
858 | 862 |
859 #========================================================================== | 863 #========================================================================== |
860 # SCM PROPERTIES | 864 # SCM PROPERTIES |
861 #========================================================================== | 865 #========================================================================== |
862 | 866 |