Changeset 1434 in subversion


Ignore:
Timestamp:
May 27, 2008 10:58:04 AM (5 years ago)
Author:
thomasb
Message:

Remove cruft from upload response

File:
1 edited

Legend:

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

    r1427 r1434  
    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.