summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Parry <github@chad.parry.org>2011-04-30 18:12:56 -0600
committerChad Parry <github@chad.parry.org>2011-04-30 18:12:56 -0600
commitc3e8c1e3b5e3cb1046acd4c923bb0ae9dbcd603a (patch)
tree93f3a02adf27d8d32f480789fc21b024b27181d8
parent2375a02e2cdbd1ccaf7dc4d3db9d85119972e3a9 (diff)
The data_file field is public, so we don't need to supply an accessor method.
-rw-r--r--modules/gallery/models/item.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/modules/gallery/models/item.php b/modules/gallery/models/item.php
index 27b821f3..22634cbf 100644
--- a/modules/gallery/models/item.php
+++ b/modules/gallery/models/item.php
@@ -128,15 +128,6 @@ class Item_Model_Core extends ORM_MPTT {
}
/**
- * Get the path to the data file associated with this item.
- * This data file field is only set until you call save().
- * After that, you can get the path using get_file_path().
- */
- public function get_data_file() {
- return $this->data_file;
- }
-
- /**
* Return the server-relative url to this item, eg:
* /gallery3/index.php/BobsWedding?page=2
* /gallery3/index.php/BobsWedding/Eating-Cake.jpg