]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - lib/filenotstoredlocallyexception.php
Merge branch 'cas-user-whitelist' into 'nightly'
[quix0rs-gnu-social.git] / lib / filenotstoredlocallyexception.php
1 <?php
2
3 if (!defined('GNUSOCIAL')) { exit(1); }
4
5 class FileNotStoredLocallyException extends ServerException
6 {
7     public $file = null;
8
9     public function __construct(File $file)
10     {
11         $this->file = $file;
12         common_debug('Requested local URL for a file that is not stored locally with id=='._ve($this->file->getID()));
13         parent::__construct(_('Requested local URL for a file that is not stored locally.'));
14     }
15 }