From d12a963eedab469c00f50af60f015c5fc4375b86 Mon Sep 17 00:00:00 2001 From: wangchunsheng Date: Thu, 17 Feb 2011 13:58:21 +0000 Subject: [PATCH] * convert private to protected. --- module/story/control.php | 8 ++++---- module/story/model.php | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) 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();