diff options
author | Roman Tsiupa <draconyster@gmail.com> | 2013-01-18 03:47:26 +0200 |
---|---|---|
committer | Roman Tsiupa <draconyster@gmail.com> | 2013-01-18 03:47:26 +0200 |
commit | 0a162ebe5ca518754fbe4668db39758cacbd5d4b (patch) | |
tree | c748f09e340d62170bb8f3ebc08c36b497bc9c1d | |
parent | 25ae5646139bcc0d4303d85fc95772f4f5dc0410 (diff) | |
download | PHPixie-0a162ebe5ca518754fbe4668db39758cacbd5d4b.zip PHPixie-0a162ebe5ca518754fbe4668db39758cacbd5d4b.tar.gz PHPixie-0a162ebe5ca518754fbe4668db39758cacbd5d4b.tar.bz2 |
removed debugging messages
-rw-r--r-- | modules/orm/classes/orm.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/orm/classes/orm.php b/modules/orm/classes/orm.php index c9848b1..7d36ad5 100644 --- a/modules/orm/classes/orm.php +++ b/modules/orm/classes/orm.php @@ -212,11 +212,8 @@ class ORM { $model = $this;
$model_alias=$this_alias;
$rels = explode('.', $target);
- Debug::log($rels);
foreach($rels as $key => $rel_name) {
$path = implode('.', array_slice($rels, 0, $key + 1));
- Debug::log($path);
- Debug::log('ggg'.$model->model_name);
if (isset($paths[$path])) {
$model = $paths[$path]['model'];
$model_alias=$paths[$path]['alias'];
@@ -230,7 +227,6 @@ class ORM { throw new Exception("Model '{$model->model_name}' doesn't have a '{$rel_name}' relation defined");
if ($rel['type'] == 'has_many')
throw new Exception("Relationship '{$rel_name}' is of has_many type and cannot be preloaded view with()");
- Debug::log('rrr'.$rel['model']);
$rel_model = ORM::factory($rel['model']);
if ($rel['type'] == 'belongs_to') {
|