1. Michael Manfre
  2. txp-plugins

Commits

Manfre  committed c2cfad6

Remove unused $txpcfg globals from mem_moderation_article. Leaving unused 2nd argument '$use_textile' for textile_main_fields() to maintain support of older txp versions. See #32

  • Participants
  • Parent commits 23d7372
  • Branches plugins

Comments (0)

Files changed (1)

File mem_moderation/mem_moderation_article.php

View file
  */
 function mem_article_approver($type, $data)
 {
-	global $txpcfg, $txp_user, $prefs;
+	global $txp_user, $prefs;
 
 	if (!is_array($data))
 	{
 /** custom_article that filters based upon current user (txp or ign) */
 function mem_custom_user_article_list($atts, $thing='')
 {
-	global $pretext, $prefs, $txpcfg,$txp_user,$ign_user;
+	global $pretext, $prefs, $txp_user,$ign_user;
 	
 	// need url info and txp prefs
 	extract($pretext);