]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/EmailSummary/scripts/sendemailsummary.php
Merge remote-tracking branch 'upstream/master' into social-master
[quix0rs-gnu-social.git] / plugins / EmailSummary / scripts / sendemailsummary.php
index 2743bd18523ba618a0b2c487819962aceaba6205..b132975bcd9d2c4b60cba1743d6640c2d401de67 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-define('INSTALLDIR', realpath(dirname(__FILE__) . '/../..'));
+define('INSTALLDIR', realpath(dirname(__FILE__) . '/../../..'));
 
 $shortoptions = 'i:n:au';
 $longoptions = array('id=', 'nickname=', 'all', 'universe');
@@ -40,7 +40,7 @@ if (have_option('u', 'universe')) {
     if ($sn->find()) {
         while ($sn->fetch()) {
             $server = $sn->getServerName();
-            StatusNet::init($server);
+            GNUsocial::init($server);
             // Different queue manager, maybe!
             $qm = QueueManager::get();
             $qm->enqueue(1, 'sitesum');