CSR changes, split dbclean in separate processes if worker is active
This commit is contained in:
		
					parent
					
						
							
								31409e2ca1
							
						
					
				
			
			
				commit
				
					
						b429b85680
					
				
			
		
					 10 changed files with 592 additions and 589 deletions
				
			
		| 
						 | 
				
			
			@ -175,7 +175,7 @@ class PConfig {
 | 
			
		|||
	public static function delete($uid,$family,$key) {
 | 
			
		||||
 | 
			
		||||
		global $a;
 | 
			
		||||
		if (x($a->config[$uid][$family],$key))
 | 
			
		||||
		if (x($a->config[$uid][$family], $key))
 | 
			
		||||
			unset($a->config[$uid][$family][$key]);
 | 
			
		||||
		$ret = q("DELETE FROM `pconfig` WHERE `uid` = %d AND `cat` = '%s' AND `k` = '%s'",
 | 
			
		||||
			intval($uid),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue