forked from GNUsocial/gnu-social
		
	Merge remote branch 'origin/master' into 0.9.x
This commit is contained in:
		@@ -149,7 +149,7 @@ class BackupaccountAction extends Action
 | 
				
			|||||||
     */
 | 
					     */
 | 
				
			||||||
    function isReadOnly($args)
 | 
					    function isReadOnly($args)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return false;
 | 
					        return true;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -546,7 +546,10 @@ class ActivityObject
 | 
				
			|||||||
        if (!empty($this->title)) {
 | 
					        if (!empty($this->title)) {
 | 
				
			||||||
            $name = common_xml_safe_str($this->title);
 | 
					            $name = common_xml_safe_str($this->title);
 | 
				
			||||||
            if ($tag == 'author') {
 | 
					            if ($tag == 'author') {
 | 
				
			||||||
                $xo->element(self::NAME, null, $name);
 | 
					                // XXX: Backward compatibility hack -- atom:name should contain
 | 
				
			||||||
 | 
					                // full name here, instead of nickname, i.e.: $name. Change
 | 
				
			||||||
 | 
					                // this in the next version.
 | 
				
			||||||
 | 
					                $xo->element(self::NAME, null, $this->poco->preferredUsername);
 | 
				
			||||||
            } else {
 | 
					            } else {
 | 
				
			||||||
                $xo->element(self::TITLE, null, $name);
 | 
					                $xo->element(self::TITLE, null, $name);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user