trying to make image form controls optionally force image file types... not quite working yet
This commit is contained in:
parent
9791c99d3b
commit
0ad578ffb9
4 changed files with 23 additions and 1 deletions
|
|
@ -28,11 +28,19 @@ addLastExportedAs($session);
|
|||
addDeletionWorkflows($session);
|
||||
addRSSFromParent($session);
|
||||
reorderSurveyCollateral($session);
|
||||
addNewProfileSetting($session);
|
||||
deleteFiles($session);
|
||||
fixAds($session);
|
||||
|
||||
finish($session); # this line required
|
||||
|
||||
#--------------------------------------------------
|
||||
sub addNewProfileSetting {
|
||||
my $session = shift;
|
||||
print "\tAdding new profile setting to force image only uploads on image form controls.\n" unless ($quiet);
|
||||
$session->db->write("alter table userProfileField add column forceImageOnly int(11) default 1");
|
||||
}
|
||||
|
||||
#--------------------------------------------------
|
||||
sub deleteFiles {
|
||||
my $session = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue