Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
809e555b
Commit
809e555b
authored
Feb 27, 2001
by
cyeh%bluemartini.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stupid lamo fix for 69621: Keyword cache not updated on keyword rename/delete.
now give warning to admin that keyword cache should be rebuilt after any keyword edit or deletion.
parent
0e41bda1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
editkeywords.cgi
editkeywords.cgi
+14
-0
No files found.
editkeywords.cgi
View file @
809e555b
...
...
@@ -334,6 +334,7 @@ if ($action eq 'update') {
print
"Keyword updated.<BR>\n"
;
&
RebuildCacheWarning
;
# Make versioncache flush
unlink
"data/versioncache"
;
...
...
@@ -382,6 +383,7 @@ to delete the <code>$name</code> keyword?
print
"Keyword $name deleted.\n"
;
&
RebuildCacheWarning
;
# Make versioncache flush
unlink
"data/versioncache"
;
...
...
@@ -395,3 +397,15 @@ print "I don't have a clue what you want.<BR>\n";
foreach
(
sort
keys
%::
FORM
)
{
print
"$_: $::FORM{$_}<BR>\n"
;
}
sub
RebuildCacheWarning
{
print
"<BR><BR><B>You have deleted or modified a keyword. You must rebuild the keyword cache!<BR></B>"
;
print
"You can rebuild the cache using sanitycheck.cgi. On very large installations of Bugzilla,<BR>"
;
print
"This can take several minutes.<BR><BR><B><A HREF=sanitycheck.cgi?rebuildkeywordcache=1>Rebuild cache</HREF><BR></B>"
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment