release 2.012002
Squashed commit of the following: commit 6f80432d0610b42c1456fcd2d9d5552fed25f40e Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Aug 7 10:04:02 2013 +0100 ready for 2.012002 commit a4a57ac77866b2e4a3381c06cd4d833732218267 Author: Oliver Gorwits <oliver@cpan.org> Date: Wed Aug 7 10:03:19 2013 +0100 Tidy up Device IP after deleting a pseudo device
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2.012002 - 2013-08-07
|
||||||
|
|
||||||
|
[BUG FIXES]
|
||||||
|
|
||||||
|
* Tidy up Device IP after deleting a pseudo device
|
||||||
|
|
||||||
2.012001 - 2013-08-06
|
2.012001 - 2013-08-06
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|||||||
@@ -61,4 +61,4 @@ resources:
|
|||||||
homepage: http://netdisco.org/
|
homepage: http://netdisco.org/
|
||||||
license: http://opensource.org/licenses/bsd-license.php
|
license: http://opensource.org/licenses/bsd-license.php
|
||||||
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
repository: git://git.code.sf.net/p/netdisco/netdisco-ng
|
||||||
version: 2.012001
|
version: 2.012002
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ use 5.010_000;
|
|||||||
use File::ShareDir 'dist_dir';
|
use File::ShareDir 'dist_dir';
|
||||||
use Path::Class;
|
use Path::Class;
|
||||||
|
|
||||||
our $VERSION = '2.012001';
|
our $VERSION = '2.012002';
|
||||||
|
|
||||||
BEGIN {
|
BEGIN {
|
||||||
if (not ($ENV{DANCER_APPDIR} || '')
|
if (not ($ENV{DANCER_APPDIR} || '')
|
||||||
|
|||||||
@@ -62,6 +62,7 @@ ajax '/ajax/control/admin/pseudodevice/del' => require_role admin => sub {
|
|||||||
->find({ip => param('ip')});
|
->find({ip => param('ip')});
|
||||||
|
|
||||||
$device->ports->delete;
|
$device->ports->delete;
|
||||||
|
$device->device_ips->delete;
|
||||||
$device->delete;
|
$device->delete;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user