Skip to content

Instantly share code, notes, and snippets.

@joshtronic
Created February 20, 2012 19:39
Show Gist options
  • Save joshtronic/1870944 to your computer and use it in GitHub Desktop.
Save joshtronic/1870944 to your computer and use it in GitHub Desktop.
<?php
// I... hurt my self today
// TODO this isn't good mojo
$comment = new StatusComment();
$comments = array();
foreach ($statuses as $status)
{
$comments[$status['id']] = count($comment->getComments($status['id']));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment