Added UserList wobject
This commit is contained in:
commit
075c02221f
9 changed files with 1356 additions and 0 deletions
|
|
@ -78,6 +78,7 @@
|
|||
- Added more variables for Photo Resolutions
|
||||
- Added better handling of Pending albums and photos
|
||||
- added: Database link access for SQL Macro (Yung Han Khoe)
|
||||
- Added UserList wobject (United Knowledge and Yung Han Khoe)
|
||||
|
||||
7.5.10
|
||||
- fix: Syntax error in GetCsMail
|
||||
|
|
|
|||
BIN
docs/upgrades/packages-7.5.11/root_import_userlist.wgpkg
Normal file
BIN
docs/upgrades/packages-7.5.11/root_import_userlist.wgpkg
Normal file
Binary file not shown.
|
|
@ -67,6 +67,7 @@ addAssetManager( $session );
|
|||
removeSqlForm($session);
|
||||
migratePaymentPlugins( $session );
|
||||
removeRecurringPaymentActivity( $session );
|
||||
addUserListWobject( $session );
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
|
|
@ -1475,6 +1476,31 @@ sub removeRecurringPaymentActivity {
|
|||
print "Done.\n";
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
sub addUserListWobject {
|
||||
my $session = shift;
|
||||
print "\tInstall UserList wobject.\n" unless ($quiet);
|
||||
$session->db->write("create table UserList (
|
||||
assetId varchar(22) not null,
|
||||
revisionDate bigint(20),
|
||||
templateId varchar(22),
|
||||
showGroupId varchar(22),
|
||||
hideGroupId varchar(22),
|
||||
usersPerPage int(11),
|
||||
alphabet text,
|
||||
alphabetSearchField varchar(128),
|
||||
showOnlyVisibleAsNamed int(11),
|
||||
sortBy varchar(128),
|
||||
sortOrder varchar(4),
|
||||
overridePublicEmail int(11),
|
||||
overridePublicProfile int(11),
|
||||
PRIMARY KEY (`assetId`,`revisionDate`)
|
||||
)");
|
||||
$session->config->addToArray("assets","WebGUI::Asset::Wobject::UserList");
|
||||
|
||||
}
|
||||
|
||||
# -------------- DO NOT EDIT BELOW THIS LINE --------------------------------
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue