Ignore:
Timestamp:
May 3, 2014 11:09:03 PM (10 years ago)
Author:
anonymous
Message:

Convert tabs to spaces, and lineendings to LF in all files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Email.inc.php

    r478 r479  
    120120    public function setParam($params)
    121121    {
    122         $app =& App::getInstance();
     122        $app =& App::getInstance();
    123123
    124124        if (isset($params) && is_array($params)) {
     
    147147    public function getParam($param)
    148148    {
    149         $app =& App::getInstance();
     149        $app =& App::getInstance();
    150150
    151151        if (array_key_exists($param, $this->_params)) {
     
    167167    public function setTemplate($template)
    168168    {
    169         $app =& App::getInstance();
     169        $app =& App::getInstance();
    170170
    171171        // Load file, using include_path.
     
    191191    public function setString($string)
    192192    {
    193         $app =& App::getInstance();
     193        $app =& App::getInstance();
    194194
    195195        if ('' == trim($string)) {
     
    215215    public function replace($replacements)
    216216    {
    217         $app =& App::getInstance();
     217        $app =& App::getInstance();
    218218
    219219        // Ensure template exists.
     
    252252    public function send($to=null, $from=null, $subject=null, $headers=null)
    253253    {
    254         $app =& App::getInstance();
     254        $app =& App::getInstance();
    255255
    256256        // Use arguments if provided.
     
    335335        if (ini_get('safe_mode')) {
    336336            $ret = mb_send_mail($final_to, $this->_params['subject'], $final_body, $final_headers);
    337         } else {
     337        } else {
    338338            $ret = mb_send_mail($final_to, $this->_params['subject'], $final_body, $final_headers, $envelope_sender_header);
    339339        }
     
    366366    public function validEmail($email)
    367367    {
    368         $app =& App::getInstance();
     368        $app =& App::getInstance();
    369369
    370370        // If an array, check values recursively.
Note: See TracChangeset for help on using the changeset viewer.