diff --git a/console/controllers/SiteMapController.php b/console/controllers/SiteMapController.php index aa1080a..59328c4 100644 --- a/console/controllers/SiteMapController.php +++ b/console/controllers/SiteMapController.php @@ -28,7 +28,6 @@ class SiteMapController extends Controller private $count = 1; - public function checkFilter($category, $filter){ $productModel = new ProductFrontendSearch(); $productProvider = $productModel->search($category, $filter); @@ -39,8 +38,6 @@ class SiteMapController extends Controller } } - - public function getAddStatic(){ return [ 'http://www.rukzachok.com.ua', @@ -48,13 +45,11 @@ class SiteMapController extends Controller ]; } - public function getProducts() { return Product::find()->all(); } - public function getSeoLinks() { return Seo::find()->where(['meta' => ''])->all(); @@ -64,12 +59,10 @@ class SiteMapController extends Controller return Page::find()->all(); } - public function getCategories(){ return Category::find()->all(); } - public function getArticles(){ return Articles::find()->all(); } @@ -90,7 +83,6 @@ class SiteMapController extends Controller } - public function checkUrl($url){ if(!in_array($url, $this->urlList)){ $this->urlList[] = $url; @@ -100,7 +92,6 @@ class SiteMapController extends Controller } } - public function createRow( $url, $priority, &$content ){ if($this->checkUrl($url)){ print $this->count++ . "\n"; @@ -113,7 +104,6 @@ class SiteMapController extends Controller } } - public function actionProcess() { $config = ArrayHelper::merge( -- libgit2 0.21.4