From: Roland Haeder <roland@mxchange.org>
Date: Fri, 27 Mar 2015 15:36:18 +0000 (+0100)
Subject: Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/quix0rs-gnu-social... 
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0d5443e93ea852eff506e69267540ab42c915199;p=quix0rs-gnu-social.git

Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/quix0rs-gnu-social into nightly

Conflicts:
	actions/showstream.php
	classes/Notice.php
	lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
---

0d5443e93ea852eff506e69267540ab42c915199
diff --cc classes/Notice.php
index ee515595bb,3825e07a0f..a6cf90da55
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@@ -2904,4 -2943,31 +2904,5 @@@ class Notice extends Managed_DataObjec
              $notice->_setReplies($ids);
          }
      }
+ 
 -    protected $_repeats = array();
 -
 -    function getRepeats()
 -    {
 -        if (isset($this->_repeats[$this->id])) {
 -            return $this->_repeats[$this->id];
 -        }
 -        $repeatMap = Notice::listGet('repeat_of', array($this->id));
 -        $this->_setRepeats($repeatMap[$this->id]);
 -        return $this->_repeats[$this->id];
 -    }
 -
 -    function _setRepeats(array $repeats)
 -    {
 -        $this->_repeats[$this->id] = $repeats;
 -    }
 -
 -    static function fillRepeats(array &$notices)
 -    {
 -        $ids = self::_idsOf($notices);
 -        $repeatMap = Notice::listGet('repeat_of', $ids);
 -        foreach ($notices as $notice) {
 -            $repeats = $repeatMap[$notice->id];
 -            $notice->_setRepeats($repeats);
 -        }
 -    }
  }
diff --cc lib/docfile.php
index 316aebb872,2e2afbd014..583f7ebc9b
--- a/lib/docfile.php
+++ b/lib/docfile.php
@@@ -113,8 -105,8 +105,8 @@@ class DocFil
          $paths = array(INSTALLDIR.'/local/doc-src/',
                         INSTALLDIR.'/doc-src/');
  
 -        $site = StatusNet::currentSite();
 +        $site = GNUsocial::currentSite();
-         
+ 
          if (!empty($site)) {
              array_unshift($paths, INSTALLDIR.'/local/doc-src/'.$site.'/');
          }
@@@ -127,8 -119,8 +119,8 @@@
          $paths = array(INSTALLDIR.'/local/mail-src/',
                         INSTALLDIR.'/mail-src/');
  
 -        $site = StatusNet::currentSite();
 +        $site = GNUsocial::currentSite();
-         
+ 
          if (!empty($site)) {
              array_unshift($paths, INSTALLDIR.'/local/mail-src/'.$site.'/');
          }