Changeset 2060
- Timestamp:
- 04/24/08 21:16:10 (7 months ago)
- Files:
-
- branches/release-36/lib/MT/Author.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/release-36/lib/MT/Author.pm
r1927 r2060 29 29 'status' => 'integer', 30 30 'external_id' => 'string(255)', 31 # 'last_login' => 'datetime', 31 #'last_login' => 'datetime', 32 32 33 # deprecated; permissions are in MT::Permission only now 33 34 'can_create_blog' => 'boolean', … … 53 54 status => 1, 54 55 external_id => 1, 55 auth_type => 1, 56 auth_type_name => { 57 columns => ['auth_type', 'name', 'type'], 58 }, 56 59 basename => 1, 57 # is_superuser => 1,58 60 }, 59 61 meta => 1, … … 702 704 %param, 703 705 ); 706 if ($info[0] !~ m!^https?://!) { 707 my $static_host = MT->instance->static_path; 708 if ($static_host =~ m!^https?://!) { 709 $static_host =~ s!^(https?://[^/]+?)!$1!; 710 $info[0] = $static_host . $info[0]; 711 } 712 } 704 713 return wantarray ? @info : $info[0]; 705 714 }
