Images.php
authorEdward <edward@roojs.com>
Fri, 1 Mar 2019 06:57:19 +0000 (14:57 +0800)
committerEdward <edward@roojs.com>
Fri, 1 Mar 2019 06:57:19 +0000 (14:57 +0800)
Images.php

index a9047b1..d24612e 100644 (file)
@@ -183,10 +183,6 @@ class Pman_Core_Images extends Pman
         }
         
         if (!$this->authUser && !in_array($img->ontable,$this->public_image_tables)) {
-           
-            if($this->is_email) {
-                return $this->serve($img);
-            }
             
             if ($img->ontable != 'core_company') {
                 $this->imgErr("not-authenticated {$img->ontable}",$s);