]> git.mxchange.org Git - friendica.git/commitdiff
rolling version number in preparation for release
authorFriendika <info@friendika.com>
Mon, 9 May 2011 23:51:25 +0000 (16:51 -0700)
committerFriendika <info@friendika.com>
Mon, 9 May 2011 23:51:25 +0000 (16:51 -0700)
addon/facebook/facebook.php
boot.php
mod/photo.php

index 8fe6f3717513f1a6dd8537c100606bd8ad55d14b..2120459c39acbcef51fbcf9a535d0df63fffef07 100644 (file)
@@ -120,7 +120,7 @@ function fb_get_friends($uid) {
                return;
        $s = fetch_url('https://graph.facebook.com/me/friends?access_token=' . $access_token);
        if($s) {
-               logger('facebook: fb_get_friends: ' . $s);
+               logger('facebook: fb_get_friends: ' . $s, LOGGER_DATA);
                $j = json_decode($s);
                logger('facebook: fb_get_friends: json: ' . print_r($j,true), LOGGER_DATA);
                foreach($j->data as $person) {
index dee3b82cf03a2119323bb18615518a5c9564ca36..2b9b209b4dce83b607b5ac3b8cb4b6c0dad889c6 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -3,7 +3,8 @@
 set_time_limit(0);
 ini_set('pcre.backtrack_limit', 250000);
 
-define ( 'FRIENDIKA_VERSION',      '2.1.973' );
+
+define ( 'FRIENDIKA_VERSION',      '2.2.975' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
 define ( 'DB_UPDATE_VERSION',      1054      );
 
@@ -20,7 +21,7 @@ define ( 'DOWN_ARROW',             '&#x21e9;'       );
  *
  */
 
-define ( 'JPEG_QUALITY',            100              );         
+define ( 'JPEG_QUALITY',            100  );         
 
 /**
  * SSL redirection policies
index 2f8d180fdb9c60c1824bb84858d3068515f0ecda..3bea7e72de82bd712b28b42d0a6841619ba7db65 100644 (file)
@@ -19,6 +19,11 @@ function photo_init(&$a) {
        $default = 'images/default-profile.jpg';
 
        if(isset($type)) {
+
+               /**
+                * Profile photos
+                */
+
                switch($type) {
 
                        case 'profile':
@@ -50,6 +55,10 @@ function photo_init(&$a) {
        }
        else {
 
+               /**
+                * Other photos
+                */
+
                $resolution = 0;
                $photo = str_replace('.jpg','',$photo);
        
@@ -114,7 +123,7 @@ function photo_init(&$a) {
                                // but who should otherwise be able to view it. Show a default image to let 
                                // them know permissions was denied. It may be possible to view the image 
                                // through an authenticated profile visit.
-                               // There won't be many complete unauthorised people seeing this because
+                               // There won't be many completely unauthorised people seeing this because
                                // they won't have the photo link, so there's a reasonable chance that the person
                                // might be able to obtain permission to view it.