Rename Item::delete* methods to Item::markForDeletion*
This commit is contained in:
		
					parent
					
						
							
								dd613cda45
							
						
					
				
			
			
				commit
				
					
						6ae5f705b6
					
				
			
		
					 7 changed files with 22 additions and 23 deletions
				
			
		| 
						 | 
				
			
			@ -2794,7 +2794,7 @@ class Diaspora
 | 
			
		|||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			Item::delete(['id' => $item['id']]);
 | 
			
		||||
			Item::markForDeletion(['id' => $item['id']]);
 | 
			
		||||
 | 
			
		||||
			Logger::log("Deleted target ".$target_guid." (".$item["id"].") from user ".$item["uid"]." parent: ".$item["parent"], Logger::DEBUG);
 | 
			
		||||
		}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue