undo the relative path support code, notification module uses different algrithm for the path calculation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
0ae6f455ea
commit
fc6f50be0e
@ -192,9 +192,6 @@ sub regNotification {
|
||||
}
|
||||
|
||||
my $fname=shift(@ARGV);
|
||||
if ( fname !~ /^\// ) {#relative path
|
||||
$fname = xCAT::Utils->full_path($fname);
|
||||
}
|
||||
my $table_names=shift(@ARGV);
|
||||
|
||||
my $table=xCAT::Table->new("notification", -create => 1,-autocommit => 0);
|
||||
@ -278,9 +275,6 @@ sub unregNotification {
|
||||
|
||||
|
||||
my $fname=shift(@ARGV);
|
||||
if ( $fname !~ /^\// ) {#relative path
|
||||
$fname = xCAT::Utils->full_path($fname);
|
||||
}
|
||||
|
||||
my $table=xCAT::Table->new("notification", -create => 1,-autocommit => 0);
|
||||
if ($table) {
|
||||
|
Loading…
Reference in New Issue
Block a user