diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-11 16:06:22 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-11 16:06:22 +0000 |
commit | e84a0ebe46e0cc3ddf070084da28ed2d62256ed8 (patch) | |
tree | ae7e59cd9ad33836325d49b15cd4b841efbe7a97 /core/models | |
parent | fa86be7df41f1b44309014829d728fc9afe88823 (diff) |
Change the name of the implmentation of module parameters to module vars
Diffstat (limited to 'core/models')
-rw-r--r-- | core/models/module.php | 2 | ||||
-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"); } |