Show More
@@ -475,6 +475,15 b' def set_rhodecode_config(config):' | |||
|
475 | 475 | config[k] = v |
|
476 | 476 | |
|
477 | 477 | |
|
478 | def get_rhodecode_realm(): | |
|
479 | """ | |
|
480 | Return the rhodecode realm from database. | |
|
481 | """ | |
|
482 | from rhodecode.model.settings import SettingsModel | |
|
483 | realm = SettingsModel().get_setting_by_name('realm') | |
|
484 | return safe_str(realm.app_settings_value) | |
|
485 | ||
|
486 | ||
|
478 | 487 | def map_groups(path): |
|
479 | 488 | """ |
|
480 | 489 | Given a full path to a repository, create all nested groups that this |
General Comments 0
You need to be logged in to leave comments.
Login now