Check for PatchReader as a part of the installation and disable the "Diff"
links if it is not there (bug 215268) git-svn-id: svn://10.0.0.236/trunk@146209 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -73,6 +73,12 @@ if ($single) {
|
||||
}
|
||||
}
|
||||
|
||||
# Determine if Patch Viewer is installed, for Diff link
|
||||
eval {
|
||||
require PatchReader;
|
||||
$vars->{'patchviewerinstalled'} = 1;
|
||||
};
|
||||
|
||||
$vars->{'bugs'} = \@bugs;
|
||||
|
||||
# Next bug in list (if there is one)
|
||||
|
||||
Reference in New Issue
Block a user