Permalink
Browse files

Removed deprecated Folder::findOrMake(), use find_or_make() instead

  • Loading branch information...
1 parent d1c5cd1 commit a46838c436f6f20da41b0ed0e66b38db50de124c @halkyon halkyon committed Nov 16, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 filesystem/Folder.php
View
@@ -33,18 +33,7 @@ public function populateDefaults() {
if(!$this->Name) $this->Name = _t('AssetAdmin.NEWFOLDER',"NewFolder");
}
-
- /**
- * @param $folderPath string Absolute or relative path to the file.
- * If path is relative, its interpreted relative to the "assets/" directory.
- * @return Folder
- * @deprecated in favor of the correct name find_or_make
- */
- public static function findOrMake($folderPath) {
- Deprecation::notice('3.0', "Use Folder::find_or_make() instead.");
- return self::find_or_make($folderPath);
- }
-
+
/**
* Find the given folder or create it both as {@link Folder} database records
* and on the filesystem. If necessary, creates parent folders as well.

0 comments on commit a46838c

Please sign in to comment.