From 70975dda4ae5237914b510ee61559fc8233ab34d Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 25 Jun 2015 19:05:49 -0700 Subject: remove all QR-code stuff from core - now in qrator addon --- mod/photo.php | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mod/photo.php') diff --git a/mod/photo.php b/mod/photo.php index e6d21562d..2e16fc1d9 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -22,14 +22,6 @@ function photo_init(&$a) { // NOTREACHED } - if($photo === 'qr') { - $t = $_GET['qr']; - require_once('library/phpqrcode/phpqrcode.php'); - header("Content-type: image/png"); - QRcode::png(($t) ? $t : '.'); - killme(); - } - $observer_xchan = get_observer_hash(); $default = get_default_profile_photo(); -- cgit v1.2.3