projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3c839
)
Die RegExp für die Namen der Upgradescripte sollte am Stringende verankert sein,...
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 3 Jan 2007 13:57:09 +0000
(13:57 +0000)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Wed, 3 Jan 2007 13:57:09 +0000
(13:57 +0000)
SL/User.pm
patch
|
blob
|
history
diff --git
a/SL/User.pm
b/SL/User.pm
index
0b42a35
..
9697dff
100644
(file)
--- a/
SL/User.pm
+++ b/
SL/User.pm
@@
-732,7
+732,7
@@
sub update_available {
opendir SQLDIR, "sql/${dbdriver}-upgrade" or &error("", "sql/${dbdriver}-upgrade: $!");
my @upgradescripts =
- grep(/$form->{dbdriver}-upgrade-\Q$cur_version\E.*\.(sql|pl)/, readdir(SQLDIR));
+ grep(/$form->{dbdriver}-upgrade-\Q$cur_version\E.*\.(sql|pl)
$
/, readdir(SQLDIR));
closedir SQLDIR;
return ($#upgradescripts > -1);