summaryrefslogtreecommitdiff
path: root/public/app/models/admin/Privilege_model.php
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 20:18:01 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-04-27 20:18:01 +0300
commita2e68fce808dbe6fba320a6232a15380b63157f6 (patch)
treeb6ceaf603b2237c328707c152233304b9a511b9e /public/app/models/admin/Privilege_model.php
parent059e0d95d0c28bc5060e87e146eaf7411f51bf90 (diff)
downloadgyraf1gov-a2e68fce808dbe6fba320a6232a15380b63157f6.tar.gz
gyraf1gov-a2e68fce808dbe6fba320a6232a15380b63157f6.tar.bz2
gyraf1gov-a2e68fce808dbe6fba320a6232a15380b63157f6.zip
structure simplified
Diffstat (limited to 'public/app/models/admin/Privilege_model.php')
-rw-r--r--public/app/models/admin/Privilege_model.php42
1 files changed, 0 insertions, 42 deletions
diff --git a/public/app/models/admin/Privilege_model.php b/public/app/models/admin/Privilege_model.php
deleted file mode 100644
index c385484..0000000
--- a/public/app/models/admin/Privilege_model.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-
-namespace app\models\admin;
-
-use Registry;
-use Render;
-
-
-class Privilege_model {
-
- /** privileges
- * ---
- * get all privileges
- *
- * @param void
- * @return privileges (array)
- */
- public static function privileges()
- {
- return Registry::use('database')->runQuery(
- "SELECT * FROM privilege",[]
- );
- }
-
- /** edit privileges
- * ---
- */
- public static function edit_privileges()
- {
- // TODO: ...
- }
-
-
- /** update course
- * ---
- */
- public static function update_course()
- {
- // TODO: ...
- }
-
-} \ No newline at end of file