Move AssetRole to Role::Asset, and update all client modules.
This commit is contained in:
parent
90facc46a9
commit
7caa3e3738
10 changed files with 15 additions and 15 deletions
|
|
@ -133,7 +133,7 @@ property userDefined5 => (
|
|||
default => '',
|
||||
);
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
use WebGUI::DateTime;
|
||||
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ property templateId => (
|
|||
namespace => "FileAsset",
|
||||
);
|
||||
|
||||
with 'WebGUI::AssetRole::SetStoragePermissions';
|
||||
with 'WebGUI::Role::Asset::SetStoragePermissions';
|
||||
|
||||
use WebGUI::Storage;
|
||||
use WebGUI::SQL;
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ for my $i ( 1 .. 5 ) {
|
|||
);
|
||||
}
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
use Carp qw( croak confess );
|
||||
use URI::Escape;
|
||||
|
|
|
|||
|
|
@ -73,9 +73,9 @@ property content => (
|
|||
default => undef,
|
||||
);
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
with 'WebGUI::AssetRole::SetStoragePermissions';
|
||||
with 'WebGUI::Role::Asset::SetStoragePermissions';
|
||||
|
||||
|
||||
use WebGUI::Asset::Template;
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ property photo => (
|
|||
noFormPost => 1,
|
||||
);
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
use WebGUI::Utility;
|
||||
use WebGUI::International;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ property isFeatured => (
|
|||
noFormPost => 1,
|
||||
);
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
use WebGUI::International;
|
||||
use WebGUI::Utility;
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ sub _storageid_deleteFileUrl {
|
|||
return shift->session->url->page("func=deleteFile;filename=");
|
||||
}
|
||||
|
||||
with 'WebGUI::AssetRole::SetStoragePermissions';
|
||||
with 'WebGUI::Role::Asset::SetStoragePermissions';
|
||||
|
||||
use WebGUI::Storage;
|
||||
use WebGUI::HTML;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ for my $i ( 1 .. 5 ) {
|
|||
);
|
||||
}
|
||||
|
||||
with 'WebGUI::AssetRole::AlwaysHidden';
|
||||
with 'WebGUI::Role::Asset::AlwaysHidden';
|
||||
|
||||
use Carp qw( croak );
|
||||
use File::Find;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue