Changeset 4d43e34 in iPeer


Ignore:
Timestamp:
2012-12-23T21:46:00-08:00 (5 years ago)
Author:
Compass <pan.luo@…>
Branches:
3.1.x, dev, hotfix, master, pagodabox, ticket463
Children:
5ff0cb1
Parents:
0462ffe
Message:

Fix a few style issue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/controllers/evaluations_controller.php

    r0462ffe r4d43e34  
    224224     * export
    225225     *
    226      * @param mixed $type
    227      * @param mixed $id
     226     * @param mixed $type course or event
     227     * @param mixed $id   course/event id
    228228     *
    229229     * @access public
     
    301301                break;
    302302            case "excel" :
    303                 $fileContent = $this->ExportExcel->createExcel($this->params['form'], $event);
     303                $this->ExportExcel->createExcel($this->params['form'], $event);
    304304                break;
    305305            default :
    306306                throw new Exception("Invalid evaluation selection.");
    307307            }
    308             $this->log($this->User->getDataSource()->getLog(false, false), 'debug');
     308            $this->log('Memory Usage for exporting event '.$event['Event']['title'].': '.memory_get_peak_usage(), 'debug');
    309309        } else {
    310310            // Set up data
Note: See TracChangeset for help on using the changeset viewer.