[vhffs-dev] [1967] renamed unlink_to_group to unlink_from_group (sic) |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1967
Author: gradator
Date: 2012-01-29 00:16:18 +0100 (Sun, 29 Jan 2012)
Log Message:
-----------
renamed unlink_to_group to unlink_from_group (sic)
Modified Paths:
--------------
trunk/vhffs-api/src/Vhffs/Robots/Repository.pm
trunk/vhffs-api/src/Vhffs/Robots/Web.pm
trunk/vhffs-api/src/Vhffs/Robots.pm
Modified: trunk/vhffs-api/src/Vhffs/Robots/Repository.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/Repository.pm 2012-01-28 22:30:31 UTC (rev 1966)
+++ trunk/vhffs-api/src/Vhffs/Robots/Repository.pm 2012-01-28 23:16:18 UTC (rev 1967)
@@ -74,7 +74,7 @@
# remove the link in group directory
my $group = Vhffs::Group::get_by_gid( $vhffs , $repo->get_owner_gid );
- Vhffs::Robots::unlink_to_group( $group, $repo->get_name.Vhffs::Constants::REPOSITORY_SUFFIX, $vhffs );
+ Vhffs::Robots::unlink_from_group( $group, $repo->get_name.Vhffs::Constants::REPOSITORY_SUFFIX, $vhffs );
$repo->delete;
}
Modified: trunk/vhffs-api/src/Vhffs/Robots/Web.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots/Web.pm 2012-01-28 22:30:31 UTC (rev 1966)
+++ trunk/vhffs-api/src/Vhffs/Robots/Web.pm 2012-01-28 23:16:18 UTC (rev 1967)
@@ -98,7 +98,7 @@
my $webdir = $main->get_config->get_datadir . "/" . Vhffs::Constants::WEBDIR . "/" . $hash ;
my $group = $web->get_group;
- if(Vhffs::Robots::unlink_to_group( $group,$web->get_servername.Vhffs::Constants::WEB_SUFFIX,$main) < 0)
+ if(Vhffs::Robots::unlink_from_group( $group,$web->get_servername.Vhffs::Constants::WEB_SUFFIX,$main) < 0)
{
$web->add_history( "Can't unlink the webdirectory from the specified group");
}
Modified: trunk/vhffs-api/src/Vhffs/Robots.pm
===================================================================
--- trunk/vhffs-api/src/Vhffs/Robots.pm 2012-01-28 22:30:31 UTC (rev 1966)
+++ trunk/vhffs-api/src/Vhffs/Robots.pm 2012-01-28 23:16:18 UTC (rev 1967)
@@ -125,7 +125,7 @@
}
-sub unlink_to_group
+sub unlink_from_group
{
my $group = shift;
my $linkname = shift;
@@ -193,7 +193,7 @@
Vhffs::Robots::link_to_group( "/path/to" , Vhffs::Group , "linkname" , Vhffs::Main);
- Vhffs::Robots::unlink_to_group( Vhffs::Group , "linkname" , Vhffs::Main);
+ Vhffs::Robots::unlink_from_group( Vhffs::Group , "linkname" , Vhffs::Main);
Vhffs::Robots::lock();
@@ -213,7 +213,7 @@
link_to_group() : create a symlink from a directory to a group directory.
-unlink_to_group() : unlink a symlink in a group directory
+unlink_from_group() : unlink a symlink in a group directory
=head1 AUTHOR