Skip to content

Commit

Permalink
More places to ensure default share attribute is set.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 28, 2014
1 parent 3dbd6a9 commit 5945bd0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 18 deletions.
1 change: 1 addition & 0 deletions kronolith/lib/Calendars/Base.php
Expand Up @@ -105,5 +105,6 @@ abstract protected function _getDefaultShareName();
*/
protected function _prepareDefaultShare($share)
{
$share->set('default', true);
}
}
9 changes: 0 additions & 9 deletions kronolith/lib/Calendars/Kolab.php
Expand Up @@ -41,13 +41,4 @@ protected function _getDefaultShareName()
return _("Calendar");
}

/**
* Add any modifiers required to the share in order to mark it as default.
*
* @param Horde_Share_Object $share The new default share.
*/
protected function _prepareDefaultShare($share)
{
$share->set('default', true);
}
}
2 changes: 2 additions & 0 deletions mnemo/lib/Notepads/Base.php
Expand Up @@ -129,5 +129,7 @@ abstract protected function _getDefaultShareName();
*/
protected function _prepareDefaultShare($share)
{
$share->set('default', true);
}

}
9 changes: 0 additions & 9 deletions mnemo/lib/Notepads/Kolab.php
Expand Up @@ -58,13 +58,4 @@ protected function _getDefaultShareName()
return _("Notes");
}

/**
* Add any modifiers required to the share in order to mark it as default.
*
* @param Horde_Share_Object $share The new default share.
*/
protected function _prepareDefaultShare($share)
{
$share->set('default', true);
}
}

0 comments on commit 5945bd0

Please sign in to comment.