Changeset 17956
- Timestamp:
- 10/06/08 12:10:45 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/MidCOM_2_8/org.routamc.gallery/photolink.php
r4795 r17956 19 19 { 20 20 return parent::__org_routamc_gallery_photolink_dba($id); 21 } 22 23 function get_parent_guid_uncached() 24 { 25 if ($this->node != 0) 26 { 27 $parent = new midcom_db_topic($this->node); 28 return $parent->guid; 29 } 30 else 31 { 32 debug_push_class(__CLASS__, __FUNCTION__); 33 debug_add("No node defined for this photolink", MIDCOM_LOG_DEBUG); 34 debug_pop(); 35 return null; 36 } 21 37 } 22 38 branches/MidCOM_2_8/org.routamc.photostream/photo.php
r17189 r17956 37 37 var $encoding = 'UTF-8'; 38 38 39 function __construct($id = null)40 { 41 return parent::__ construct($id);39 function org_routamc_photostream_photo_dba($id = null) 40 { 41 return parent::__org_routamc_photostream_photo_dba($id); 42 42 } 43 43 … … 52 52 { 53 53 debug_push_class(__CLASS__, __FUNCTION__); 54 debug_add("No parent defined for this p roduct", MIDCOM_LOG_DEBUG);54 debug_add("No parent defined for this photo", MIDCOM_LOG_DEBUG); 55 55 debug_pop(); 56 56 return null;
