diff --git a/module/story/control.php b/module/story/control.php index 07b2632277..7c4a740636 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -70,10 +70,10 @@ class story extends control * The common action when edit or change a story. * * @param int $storyID - * @access private + * @access protected * @return void */ - private function commonAction($storyID) + protected function commonAction($storyID) { /* Get datas. */ $story = $this->story->getById($storyID); @@ -410,10 +410,10 @@ class story extends control * * @param int $storyID * @param int $actionID - * @access private + * @access protected * @return void */ - private function sendmail($storyID, $actionID) + protected function sendmail($storyID, $actionID) { /* Get actions. */ $action = $this->action->getById($actionID); diff --git a/module/story/model.php b/module/story/model.php index 9c8548dee6..c93916f1d5 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -649,10 +649,10 @@ class storyModel extends model * Format stories * * @param array $stories - * @access private + * @access protected * @return void */ - private function formatStories($stories) + protected function formatStories($stories) { /* Get module names of stories. */ /*$modules = array();