* Revert commit.

This commit is contained in:
chaideqing
2023-04-27 10:22:53 +08:00
parent 68246a7e84
commit afa257ee10
-1
View File
@@ -487,7 +487,6 @@ class file extends control
*/
public function read($fileID)
{
if(!$this->loadModel('user')->isLogon()) return print(js::locate($this->createLink('user', 'login')));
$file = $this->file->getById($fileID);
if(empty($file) or !$this->file->fileExists($file)) return false;