1
0

trying to recommit the deletion of old files.

This commit is contained in:
dmolavi 2010-08-08 15:33:21 -04:00
parent 435b677141
commit e94df5cdd0

View File

@ -17,6 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
class Ecard_Controller extends Controller {
/**
* Send the ecard.
@ -27,7 +28,6 @@ class Ecard_Controller extends Controller {
if (!ecard::can_send_ecard()) {
access::forbidden();
}
$form = ecard::get_send_form($item);
try {
$valid = $form->validate();
@ -64,7 +64,6 @@ class Ecard_Controller extends Controller {
json::reply(array("result" => "error", "html" => (string) $form));
}
}
/**
* Present a form for sending a new ecard.
*/
@ -74,10 +73,8 @@ class Ecard_Controller extends Controller {
if (!ecard::can_send_ecard()) {
access::forbidden();
}
print ecard::prefill_send_form(ecard::get_send_form($item));
}
private static function _notify($to, $from, $subject, $item, $text, $headers, $bcc) {
$sendmail = Sendmail::factory();
$sendmail