diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-10 06:13:49 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-10 06:13:49 +0100 |
commit | 887524670413292b71448bd0c67ab2b786c78b49 (patch) | |
tree | 794e276bdc45f081b681357069d61e8aa05be464 /Bugzilla/Template.pm | |
parent | ef96ae157223b3309f7703798b32b0b386b2edff (diff) | |
download | bugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.gz bugzilla-887524670413292b71448bd0c67ab2b786c78b49.tar.xz |
Bug 1139749: backport bug 1128853 to bmo (Bugzilla shouldn't try to write API tokens into the shadow DB)
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 94dcdb85d..efc2b5931 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -1042,8 +1042,6 @@ sub create { 'get_api_token' => sub { return '' unless Bugzilla->user->id; - # BMO - hack so we don't create tokens when pointing to the shadow_db - return '' if Bugzilla->is_shadow_db; my $cache = Bugzilla->request_cache; return $cache->{api_token} //= issue_api_token(); }, |