link to tag changes
This commit is contained in:
		
							parent
							
								
									17218b0b08
								
							
						
					
					
						commit
						b4624e912a
					
				@ -61,6 +61,11 @@ class Tag_History implements Extension {
 | 
			
		||||
		if(($event instanceof TagSetEvent)) {
 | 
			
		||||
			$this->add_tag_history($event->image, $event->tags);
 | 
			
		||||
		}
 | 
			
		||||
		if($event instanceof UserBlockBuildingEvent) {
 | 
			
		||||
			if($user->is_admin()) {
 | 
			
		||||
				$event->add_link("Tag Changes", make_link("tag_history"));
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	protected function install()
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user