Show More
@@ -47,7 +47,7 b' from rhodecode.lib.auth import (' | |||
|
47 | 47 | from rhodecode.lib.exceptions import NonRelativePathError, IMCCommitError |
|
48 | 48 | from rhodecode.lib import hooks_utils, caches |
|
49 | 49 | from rhodecode.lib.utils import ( |
|
50 |
get_filesystem_repos, |
|
|
50 | get_filesystem_repos, make_db_config) | |
|
51 | 51 | from rhodecode.lib.utils2 import (safe_str, safe_unicode) |
|
52 | 52 | from rhodecode.lib.system_info import get_system_info |
|
53 | 53 | from rhodecode.model import BaseModel |
@@ -289,9 +289,6 b' class ScmModel(BaseModel):' | |||
|
289 | 289 | if f is not None: |
|
290 | 290 | try: |
|
291 | 291 | self.sa.delete(f) |
|
292 | action_logger(UserTemp(user_id), | |
|
293 | 'stopped_following_repo', | |
|
294 | RepoTemp(follow_repo_id)) | |
|
295 | 292 | return |
|
296 | 293 | except Exception: |
|
297 | 294 | log.error(traceback.format_exc()) |
@@ -302,10 +299,6 b' class ScmModel(BaseModel):' | |||
|
302 | 299 | f.user_id = user_id |
|
303 | 300 | f.follows_repo_id = follow_repo_id |
|
304 | 301 | self.sa.add(f) |
|
305 | ||
|
306 | action_logger(UserTemp(user_id), | |
|
307 | 'started_following_repo', | |
|
308 | RepoTemp(follow_repo_id)) | |
|
309 | 302 | except Exception: |
|
310 | 303 | log.error(traceback.format_exc()) |
|
311 | 304 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now