1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class ProfileNoAcctUriException extends ServerException
- {
- public $profile = null;
- public function __construct(Profile $profile, $msg=null)
- {
- $this->profile = $profile;
- if ($msg === null) {
-
-
- $msg = sprintf(_('Could not get an acct: URI for profile with id==%u'), $this->profile->id);
- }
- parent::__construct($msg);
- }
- }
|