Changeset 17917

Show
Ignore:
Timestamp:
10/04/08 14:59:15 (2 months ago)
Author:
flack
Message:

remove yet another legacy wrapper class

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/org.openpsa.mypage/handler/weekreview.php

    r17914 r17917  
    321321                            midcom_show_style('weekreview-day-item-event'); 
    322322                            break; 
    323                         case 'midcom_org_openpsa_hour_report': 
     323                        case 'org_openpsa_projects_hour_report': 
    324324                            midcom_show_style('weekreview-day-item-hour-report'); 
    325325 
  • trunk/midcom/org.openpsa.projects/config/midcom_dba_classes.inc

    r17916 r17917  
    1515    'old_class_name' => null, 
    1616    'new_class_name' => 'org_openpsa_hour_report', 
    17     'midcom_class_name' => 'midcom_org_openpsa_hour_report' 
     17    'midcom_class_name' => 'org_openpsa_projects_hour_report' 
    1818), 
    1919array( 
  • trunk/midcom/org.openpsa.projects/hour/report.php

    • Property svn:mergeinfo set
    r14773 r17917  
    1212 * @package org.openpsa.projects 
    1313 */ 
    14 class midcom_org_openpsa_hour_report extends __midcom_org_openpsa_hour_report 
     14class org_openpsa_projects_hour_report extends __org_openpsa_projects_hour_report 
    1515{ 
    16     // Simple readonly boolean property on whethe this is invoiced 
     16    // Simple readonly boolean property on whether this is invoiced 
    1717    var $is_invoiced = false; 
    1818    var $is_approved = false; 
     
    3939    { 
    4040        //Make sure our hours property is a float 
    41         $this->hours = (float)$this->hours; 
     41        $this->hours = (float) $this->hours; 
    4242        $this->hours = round($this->hours, 2); 
    4343 
     
    158158} 
    159159 
    160 /** 
    161  * Another wrap level to get to component namespace 
    162  * @package org.openpsa.projects 
    163  */ 
    164 class org_openpsa_projects_hour_report extends midcom_org_openpsa_hour_report 
    165 { 
    166     function __construct($identifier=NULL) 
    167     { 
    168         return parent::__construct($identifier); 
    169     } 
    170 } 
    171160?> 
  • trunk/midcom/org.openpsa.projects/midcom/interfaces.php

    r17916 r17917  
    2323        $this->_autoload_files = array 
    2424        ( 
    25             'hour_report_midcomdba.php', 
    2625            'deliverables/deliverable_midcomdba.php', 
    2726            /*  
  • trunk/midcom/org.openpsa.relatedto/handler/relatedto.php

    r17904 r17917  
    259259                $this->_show_render_line_salesproject(); 
    260260                break; 
    261             case is_a($this->_request_data['link_other_obj'], 'midcom_org_openpsa_hour_report'): 
     261            case is_a($this->_request_data['link_other_obj'], 'org_openpsa_projects_hour_report'): 
    262262                $this->_show_render_line_hour_report(); 
    263263                break;