Made some efficiency improvements in wobject save.
This commit is contained in:
parent
8cf465c3e6
commit
c65c92ebf5
17 changed files with 25 additions and 38 deletions
|
|
@ -71,11 +71,10 @@ sub www_edit {
|
|||
sub www_editSave {
|
||||
return WebGUI::Privilege::insufficient() unless (WebGUI::Privilege::canEditPage());
|
||||
my ($property);
|
||||
$_[0]->SUPER::www_editSave();
|
||||
$property->{rssUrl} = $session{form}{rssUrl};
|
||||
$property->{content} = $session{form}{content} if ($session{form}{content} ne "");
|
||||
$property->{lastFetched} = $session{form}{lastFetched} if ($session{form}{lastFetched} ne "");
|
||||
$_[0]->set($property);
|
||||
$_[0]->SUPER::www_editSave($property);
|
||||
return "";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue