Changeset 27339
- Timestamp:
- 2013-05-14T22:58:23+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/afrepo/trunk/src/src/AFRepo.GSDLEXT.class.php.in
r27317 r27339 82 82 83 83 return array_key_exists($full_filepath, $this->getAllFiles()); 84 } 85 86 87 /** 88 * idToCanonicalPath 89 * Return the path to the canonical file with the given ID 90 */ 91 public function idToCanonicalPath($id) { 92 return readlink($this->idToLinkPath($id)); 84 93 } 85 94 … … 226 235 } 227 236 228 public function getSongFiles ($id) {237 public function getSongFilesOLD($id) { 229 238 $filepath = $this->idToLinkPath($id); 230 239 $origfilepath = realpath($filepath); … … 263 272 new PathClassifier(), 264 273 ); 265 foreach ($classifiers as $classifier) 274 275 foreach ($classifiers as $classifier) 266 276 if ($classifier->available() && $classifier->hasMBID($id)) 267 277 return $classifier->getMBID($id);
Note:
See TracChangeset
for help on using the changeset viewer.