Skip to content

Instantly share code, notes, and snippets.

@ocharles
Created March 25, 2009 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ocharles/85521 to your computer and use it in GitHub Desktop.
Save ocharles/85521 to your computer and use it in GitHub Desktop.
if ($original->length != $track->duration)
{
push @edits, $c->model('Moderation')->insert(undef,
type => ModDefs::MOD_ED_TRACKTIME,
track => $original,
newlength => $track->duration
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment