summaryrefslogtreecommitdiff
path: root/core/models
diff options
context:
space:
mode:
Diffstat (limited to 'core/models')
-rw-r--r--core/models/module.php2
-rw-r--r--core/models/var.php (renamed from core/models/parameter.php)2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/models/module.php b/core/models/module.php
index 5229f42d..da9fb0a1 100644
--- a/core/models/module.php
+++ b/core/models/module.php
@@ -18,5 +18,5 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Module_Model extends ORM {
- protected $has_many = array("parameters");
+ protected $has_many = array("vars");
}
diff --git a/core/models/parameter.php b/core/models/var.php
index 9817ff2f..d5aa1849 100644
--- a/core/models/parameter.php
+++ b/core/models/var.php
@@ -17,6 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-class Parameter_Model extends ORM {
+class Var_Model extends ORM {
protected $belongs_to = array("module");
}