Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F413432
storage.php
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
ftdysa
May 22 2015, 12:11 PM
2015-05-22 12:11:00 (UTC+0)
Size
1 KB
Referenced Files
None
Subscribers
None
storage.php
View Options
<?php
/* serialization */
class
MigrateFile
{
public
$name
;
public
$contents
;
public
$user
;
public
$date
;
public
$type
;
}
class
MigrateComment
{
public
$user
;
public
$description
;
public
$date
;
}
class
MigrateHistory
{
public
$user
;
public
$date
;
public
$field
;
public
$old
;
}
class
MigrateTask
{
public
$id
;
public
$author
;
public
$title
;
public
$description
;
public
$date
;
public
$assign
;
public
$state
;
public
$priority
;
public
$project
;
public
$tracker
;
public
$comments
=
array
();
public
$files
=
array
();
public
$ccs
=
array
();
public
$history
=
array
();
public
$extra_fields
=
array
();
}
class
MigrateUser
{
public
$name
;
public
$id
;
public
$realname
;
public
$email
;
public
$date
;
public
$timezone
;
public
$password
;
public
$unix_password
;
}
class
MigrateImportedUser
{
public
$name
;
public
$email
;
public
$isspam
=
false
;
public
$duplicateof
=
null
;
}
/* utilities */
function
startsWith
(
$haystack
,
$needle
)
{
}
function
endsWith
(
$haystack
,
$needle
)
{
return
$needle
===
""
||
substr
(
$haystack
,
-
strlen
(
$needle
))
===
$needle
;
}
function
lookup_user
(
$name
)
{
if
(
$name
==
null
)
return
null
;
$user
=
id
(
new
PhabricatorUser
())->
loadOneWhere
(
'username = %s'
,
$name
);
if
(!
$user
)
echo
"ERROR: lookup of user "
.
$name
.
" failed
\n
"
;
return
$user
;
}
function
lookup_project
(
$name
)
{
if
(
$name
==
null
)
return
null
;
$project
=
id
(
new
PhabricatorProject
())->
loadOneWhere
(
'name = %s'
,
$name
);
if
(!
$project
)
echo
"ERROR: lookup of project "
.
$name
.
" failed
\n
"
;
return
$project
;
}
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/gw/nb/pelsiyunpstlupbv
Default Alt Text
storage.php (1 KB)
Attached To
Mode
P1789 storage.php
Attached
Detach File
Event Timeline
Log In to Comment