Remove @group annotations
Summary: I'm pretty sure that `@group` annotations are useless now... see D9855. Also fixed various other minor issues. Test Plan: Eye-ball it. Reviewers: #blessed_reviewers, epriestley, chad Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin, hach-que Differential Revision: https://secure.phabricator.com/D9859
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @group file
|
||||
*/
|
||||
final class PhabricatorFile extends PhabricatorFileDAO
|
||||
implements
|
||||
PhabricatorTokenReceiverInterface,
|
||||
@@ -157,7 +154,6 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
||||
}
|
||||
|
||||
public static function newFileFromContentHash($hash, $params) {
|
||||
|
||||
// Check to see if a file with same contentHash exist
|
||||
$file = id(new PhabricatorFile())->loadOneWhere(
|
||||
'contentHash = %s LIMIT 1', $hash);
|
||||
@@ -413,7 +409,6 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
||||
}
|
||||
|
||||
public function delete() {
|
||||
|
||||
// We want to delete all the rows which mark this file as the transformation
|
||||
// of some other file (since we're getting rid of it). We also delete all
|
||||
// the transformations of this file, so that a user who deletes an image
|
||||
@@ -587,7 +582,6 @@ final class PhabricatorFile extends PhabricatorFileDAO
|
||||
}
|
||||
|
||||
public function isTransformableImage() {
|
||||
|
||||
// NOTE: The way the 'gd' extension works in PHP is that you can install it
|
||||
// with support for only some file types, so it might be able to handle
|
||||
// PNG but not JPEG. Try to generate thumbnails for whatever we can. Setup
|
||||
|
||||
Reference in New Issue
Block a user