summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r--Bugzilla/Template.pm2
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();
},