12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- <?php
- if (!defined('STATUSNET')) {
-
-
- exit(1);
- }
- class DefaultProfileBlock extends AccountProfileBlock
- {
- function __construct($out)
- {
- $user = common_current_user();
- if (empty($user)) {
- throw new Exception("DefaultProfileBlock with no user.");
- }
- parent::__construct($out, $user->getProfile());
- }
- function location()
- {
- return null;
- }
- function homepage()
- {
- return null;
- }
- function description()
- {
- return null;
- }
- function otherProfiles()
- {
- return array();
- }
- }
|