Skip to content

Instantly share code, notes, and snippets.

@cpsubrian
Created November 15, 2011 20:25
Show Gist options
  • Save cpsubrian/1368217 to your computer and use it in GitHub Desktop.
Save cpsubrian/1368217 to your computer and use it in GitHub Desktop.
Testing sublime 2 text git plugin.
// Disable replies to a message.
$items[$url_prefix . '/lock/%privatemsg_thread'] = array(
'title' => 'Lock Thread',
'page callback' => 'gac_privatemsg_lock_thread',
'page arguments' => array($url_prefix_arg_count + 1),
'access callback' => 'gac_privatemsg_lock_access',
'access arguments' => array($url_prefix_arg_count + 1),
'type' => MENU_CALLBACK,
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment