Merge pull request #3033 from annando/1612-object-type
The object type "photo" is deprecated and was replaced by "image"
This commit is contained in:
		
				commit
				
					
						cc16369b6f
					
				
			
		
					 5 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -2290,7 +2290,7 @@ class diaspora {
 | 
			
		|||
				$body = "[img]".unxmlify($photo->remote_photo_path).
 | 
			
		||||
					unxmlify($photo->remote_photo_name)."[/img]\n".$body;
 | 
			
		||||
 | 
			
		||||
			$datarray["object-type"] = ACTIVITY_OBJ_PHOTO;
 | 
			
		||||
			$datarray["object-type"] = ACTIVITY_OBJ_IMAGE;
 | 
			
		||||
		} else {
 | 
			
		||||
			$datarray["object-type"] = ACTIVITY_OBJ_NOTE;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue