Changeset 7ffc08c in github


Ignore:
Timestamp:
May 27, 2008 10:58:04 AM (5 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
53873e3
Parents:
7e9cecd
Message:

Remove cruft from upload response

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/upload.inc

    re345457 r7ffc08c  
    2121 
    2222 
    23 if (!$_SESSION['compose']) 
    24   { 
    25   exit; 
    26   } 
     23if (!$_SESSION['compose']) { 
     24  die("Invalid session var!"); 
     25} 
    2726 
    2827 
     
    3534 
    3635 
    37 $response = ''; 
     36// clear all stored output properties (like scripts and env vars) 
     37$OUTPUT->reset(); 
    3838 
    3939if (is_array($_FILES['_attachments']['tmp_name'])) 
Note: See TracChangeset for help on using the changeset viewer.