phpcs Bookmark.php

This commit is contained in:
Evan Prodromou 2010-12-29 14:17:32 -08:00
parent 10fa41454d
commit b00d113bb4

View File

@ -106,7 +106,8 @@ class Bookmark extends Memcached_DataObject
'description' => DB_DATAOBJECT_STR,
'uri' => DB_DATAOBJECT_STR,
'url_crc32' => DB_DATAOBJECT_INT + DB_DATAOBJECT_NOTNULL,
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE + DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL);
'created' => DB_DATAOBJECT_STR + DB_DATAOBJECT_DATE +
DB_DATAOBJECT_TIME + DB_DATAOBJECT_NOTNULL);
}
/**
@ -281,7 +282,8 @@ class Bookmark extends Memcached_DataObject
foreach ($rawtags as $tag) {
if (strtolower(mb_substr($tag, 0, 4)) == 'for:') {
if (!array_key_exists('replies', $options)) { // skip if done by caller
// skip if done by caller
if (!array_key_exists('replies', $options)) {
$nickname = mb_substr($tag, 4);
$other = common_relative_profile($profile,
$nickname);