summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-09 20:19:50 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-09 20:19:50 +0000
commit5df4814b12d8ba6570dc9f0a026947c324972651 (patch)
tree0749988ab04b84abec45d443e718bde73050f1a3 /urpm.pm
parent2cff1aff2fa2106ce6ee3100e89f9e61496ff226 (diff)
downloadurpmi-5df4814b12d8ba6570dc9f0a026947c324972651.tar
urpmi-5df4814b12d8ba6570dc9f0a026947c324972651.tar.gz
urpmi-5df4814b12d8ba6570dc9f0a026947c324972651.tar.bz2
urpmi-5df4814b12d8ba6570dc9f0a026947c324972651.tar.xz
urpmi-5df4814b12d8ba6570dc9f0a026947c324972651.zip
$urpm->{ui_msg} is same as $urpm->{log} since $urpm->{ui} is dead
for some time now (r14609 2004-12-07)
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 1449a606..6d576c3b 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -57,8 +57,8 @@ sub new {
info => sub { printf "%s\n", $_[0] }, #- displayed unless --quiet
log => sub { printf "%s\n", $_[0] }, #- displayed if --verbose
ui_msg => sub {
+ # deprecated
$self->{log}($_[0]);
- ref $self->{ui} && ref $self->{ui}{msg} and $self->{ui}{msg}->($_[1]);
},
}, $class;