Commented out two functions that are no longer in use. API function renaming.

This commit is contained in:
paul 2006-11-23 07:12:42 +00:00
parent 789ddf9248
commit 0de001046f
1 changed files with 11 additions and 11 deletions

View File

@ -678,7 +678,7 @@ class GreenBox extends BasicStor {
return $pl; return $pl;
} }
$acGunid = $this->gunidFromId($acId); $acGunid = $this->gunidFromId($acId);
if ($pl->_cyclicRecursion($acGunid)){ if ($pl->cyclicRecursion($acGunid)){
return PEAR::raiseError( return PEAR::raiseError(
"GreenBox::addAudioClipToPlaylist: cyclic-recursion detected". "GreenBox::addAudioClipToPlaylist: cyclic-recursion detected".
" ($type)" " ($type)"
@ -1023,11 +1023,11 @@ class GreenBox extends BasicStor {
* @return int * @return int
* seconds * seconds
*/ */
public function _plTimeToSecs($plt) // public function playlistTimeToSeconds($plt)
{ // {
require_once("Playlist.php"); // require_once("Playlist.php");
return Playlist::_plTimeToSecs($plt); // return Playlist::playlistTimeToSeconds($plt);
} // fn _plTimeToSecs // }
/** /**
@ -1038,11 +1038,11 @@ class GreenBox extends BasicStor {
* @return string * @return string
* time in playlist time format (HH:mm:ss.dddddd) * time in playlist time format (HH:mm:ss.dddddd)
*/ */
function _secsToPlTime($s0) // public static function secondsToPlaylistTime($s0)
{ // {
require_once("Playlist.php"); // require_once("Playlist.php");
return Playlist::_secsToPlTime($s0); // return Playlist::secondsToPlaylistTime($s0);
} // fn _secsToPlTime // } // fn secondsToPlaylistTime
/* ------------------------------------------------------- render methods */ /* ------------------------------------------------------- render methods */