summaryrefslogtreecommitdiff
path: root/public/app/controllers/cli/CliContoller.php
diff options
context:
space:
mode:
authorGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 18:16:44 +0300
committerGeo Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 18:16:44 +0300
commitb52e052bd3741c1ddf1bdaa43079ba5a9eafc8bd (patch)
treeebf54306edc20705544ea4d10cb12b34a66c05cc /public/app/controllers/cli/CliContoller.php
parent187335950742b4c7ec011ede6e6d1ae86662cb1f (diff)
downloadclassroom-b52e052bd3741c1ddf1bdaa43079ba5a9eafc8bd.tar.gz
classroom-b52e052bd3741c1ddf1bdaa43079ba5a9eafc8bd.tar.bz2
classroom-b52e052bd3741c1ddf1bdaa43079ba5a9eafc8bd.zip
setting blueprint in action
Diffstat (limited to 'public/app/controllers/cli/CliContoller.php')
-rw-r--r--public/app/controllers/cli/CliContoller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/app/controllers/cli/CliContoller.php b/public/app/controllers/cli/CliContoller.php
index 4549b50..949985d 100644
--- a/public/app/controllers/cli/CliContoller.php
+++ b/public/app/controllers/cli/CliContoller.php
@@ -39,12 +39,12 @@ class CliContoller
if (php_sapi_name() != 'cli') return false;
# PROXY call:
- # CMS \ Course_model::courses_struct():
+ # CMS \ Cms_model::courses_struct():
# + Refresh Cache
# --------------------------------------
echo textColor("Creating category_products tree Cache ... ", \NORMAL);
$reply = proxy(
- [\app\models\cms\Course_model::class, 'courses_struct'],
+ [\app\models\Cms_model::class, 'courses_struct'],
[], \CACHE_ROOT_TTL,
\PROXY_IGNORE_CACHE
);