-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MNT Remove TODO comments #418
MNT Remove TODO comments #418
Conversation
@@ -2656,7 +2655,7 @@ public static function get_latest_version($class, $id) | |||
/** | |||
* Returns whether the current record is the latest one. | |||
* | |||
* @todo Performance - could do this directly via SQL. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like an additional way for better performance.
@@ -201,7 +201,7 @@ public function findOwners($recursive = true, $list = null) | |||
} | |||
|
|||
// Build reverse lookup for ownership | |||
// @todo - Cache this more intelligently |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like a small warning.
@@ -188,8 +188,6 @@ protected function getObjectDisplay($object = null) | |||
} | |||
|
|||
// Use image tag | |||
// TODO Use CMSThumbnail instead to limit max size, blocked by DataDifferencerTest and GC | |||
// not playing nice with mocked images |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open ticket: #414
@@ -70,8 +70,7 @@ public function testArrayValues() | |||
$obj1v2 = Versioned::get_version(DataDifferencerTest\TestObject::class, $obj1->ID, $afterVersion); | |||
$differ = new DataDifferencer($obj1v1, $obj1v2); | |||
$obj1Diff = $differ->diffedData(); | |||
// TODO Using getter would split up field again, bug only caused by simulating | |||
// an array-based value in the first place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open ticket: #413
@@ -213,8 +213,6 @@ public function removeObject(DataObject $object) | |||
])->first(); | |||
|
|||
if ($item) { | |||
// TODO: Handle case of implicit added item being removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open ticket: #415
@@ -2021,7 +2021,6 @@ public function Versions($filter = "", $sort = "", $limit = "", $join = "", $hav | |||
|
|||
$list = DataObject::get(DataObject::getSchema()->baseDataClass($owner), $filter, $sort, $join, $limit); | |||
if ($having) { | |||
// @todo - This method doesn't exist on DataList |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open ticket: #417
7b0e144
to
2d0bd7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Parent issue